summaryrefslogtreecommitdiff
path: root/regress/lib/libcrypto
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-05-15 19:23:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-05-15 19:23:15 +0000
commitf4b159c24a5bcb33aabba93a19c6ec9351e1c474 (patch)
tree00c7ea48c68781549518c97954df0d8fa5788e8b /regress/lib/libcrypto
parent85c10add4fa29bc8a1ed16224cd08c02860111d3 (diff)
Get pqueue.h from the libssl sources rather than relying upon it being
installed.
Diffstat (limited to 'regress/lib/libcrypto')
-rw-r--r--regress/lib/libcrypto/pqueue/Makefile4
-rw-r--r--regress/lib/libcrypto/pqueue/pq_test.c2
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";