diff options
author | miod <> | 2014-05-15 19:23:14 +0000 |
---|---|---|
committer | miod <> | 2014-05-15 19:23:14 +0000 |
commit | fadbce26b3ee4c2f77bd19a8b33161719b0fe5ba (patch) | |
tree | d993b6fffe5d0a60b38c8e5954fffc8222a0a9d4 | |
parent | acd64e2a77c730df16340e358d455b1df58d9c01 (diff) | |
download | openbsd-fadbce26b3ee4c2f77bd19a8b33161719b0fe5ba.tar.gz openbsd-fadbce26b3ee4c2f77bd19a8b33161719b0fe5ba.tar.bz2 openbsd-fadbce26b3ee4c2f77bd19a8b33161719b0fe5ba.zip |
Get pqueue.h from the libssl sources rather than relying upon it being
installed.
-rw-r--r-- | src/regress/lib/libcrypto/pqueue/Makefile | 4 | ||||
-rw-r--r-- | src/regress/lib/libcrypto/pqueue/pq_test.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/pqueue/Makefile b/src/regress/lib/libcrypto/pqueue/Makefile index 8b2d27e052..09c6213e05 100644 --- a/src/regress/lib/libcrypto/pqueue/Makefile +++ b/src/regress/lib/libcrypto/pqueue/Makefile | |||
@@ -1,6 +1,8 @@ | |||
1 | # $OpenBSD: Makefile,v 1.3 2014/05/12 19:14:14 miod Exp $ | 1 | # $OpenBSD: Makefile,v 1.4 2014/05/15 19:23:14 miod Exp $ |
2 | 2 | ||
3 | PROG= pq_test | 3 | PROG= pq_test |
4 | SRC= ${.CURDIR}/../../../../lib/libssl/src/ssl | ||
5 | CFLAGS+= -I${SRC} | ||
4 | 6 | ||
5 | LDADD= -lssl -lcrypto | 7 | LDADD= -lssl -lcrypto |
6 | DPADD= ${LIBSSL} ${LIBCRYPTO} | 8 | DPADD= ${LIBSSL} ${LIBCRYPTO} |
diff --git a/src/regress/lib/libcrypto/pqueue/pq_test.c b/src/regress/lib/libcrypto/pqueue/pq_test.c index fa78c8fa4c..7a69f0cf59 100644 --- a/src/regress/lib/libcrypto/pqueue/pq_test.c +++ b/src/regress/lib/libcrypto/pqueue/pq_test.c | |||
@@ -57,7 +57,7 @@ | |||
57 | * | 57 | * |
58 | */ | 58 | */ |
59 | 59 | ||
60 | #include <openssl/pqueue.h> | 60 | #include "pqueue.h" |
61 | 61 | ||
62 | /* remember to change expected.txt if you change these values */ | 62 | /* remember to change expected.txt if you change these values */ |
63 | unsigned char prio1[8] = "supercal"; | 63 | unsigned char prio1[8] = "supercal"; |