diff options
author | 2014-05-15 19:23:14 +0000 | |
---|---|---|
committer | 2014-05-15 19:23:14 +0000 | |
commit | 7542f55f2668e7a6e5094e9a00ccb06d18db19a3 (patch) | |
tree | 01403f6b4e1a76f0d3385828c53e2f26c193a2a6 | |
parent | - typo in comment (diff) | |
download | wireguard-openbsd-7542f55f2668e7a6e5094e9a00ccb06d18db19a3.tar.xz wireguard-openbsd-7542f55f2668e7a6e5094e9a00ccb06d18db19a3.zip |
Get pqueue.h from the libssl sources rather than relying upon it being
installed.
-rw-r--r-- | regress/lib/libcrypto/pqueue/Makefile | 4 | ||||
-rw-r--r-- | regress/lib/libcrypto/pqueue/pq_test.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/pqueue/Makefile b/regress/lib/libcrypto/pqueue/Makefile index 8b2d27e0525..09c6213e05b 100644 --- a/regress/lib/libcrypto/pqueue/Makefile +++ b/regress/lib/libcrypto/pqueue/Makefile @@ -1,6 +1,8 @@ -# $OpenBSD: Makefile,v 1.3 2014/05/12 19:14:14 miod Exp $ +# $OpenBSD: Makefile,v 1.4 2014/05/15 19:23:14 miod Exp $ PROG= pq_test +SRC= ${.CURDIR}/../../../../lib/libssl/src/ssl +CFLAGS+= -I${SRC} LDADD= -lssl -lcrypto DPADD= ${LIBSSL} ${LIBCRYPTO} diff --git a/regress/lib/libcrypto/pqueue/pq_test.c b/regress/lib/libcrypto/pqueue/pq_test.c index fa78c8fa4c9..7a69f0cf597 100644 --- a/regress/lib/libcrypto/pqueue/pq_test.c +++ b/regress/lib/libcrypto/pqueue/pq_test.c @@ -57,7 +57,7 @@ * */ -#include <openssl/pqueue.h> +#include "pqueue.h" /* remember to change expected.txt if you change these values */ unsigned char prio1[8] = "supercal"; |