summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-26 04:05:45 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-26 04:05:45 +0000
commite49d9a293a929c0d0ee9659df89f102a43c53a6d (patch)
treef343aef1d6e35c8e797c748e6f57924025aa00db /sbin/isakmpd
parenta58e557b94c918b95a74775252dc3b5dde685d94 (diff)
Merge from the Ericsson repository
| revision 1.5 | date: 1999/02/25 15:12:00; author: niklas; state: Exp; lines: +6 -3 | More messing with the new sysdep paths | ---------------------------- | revision 1.4 | date: 1998/12/21 00:41:56; author: niklas; state: Exp; lines: +2 -0 | RCS Ids | ---------------------------- | revision 1.3 | date: 1998/08/11 20:30:39; author: provos; state: Exp; lines: +2 -1 | update to reflect recent changes | ---------------------------- | revision 1.2 | date: 1998/08/04 16:59:32; author: provos; state: Exp; lines: +1 -1 | use log_print instead of log_debug for reporting errors. ASN was missing | length checks, dito for PKCS#1. Make encryption and decryption also allow | public key (random padding) instead of only private key. Both modes are | needed for authentication with ISAKMP/Oakley. | ---------------------------- | revision 1.1 | date: 1998/08/03 19:41:20; author: provos; state: Exp; | read some test BER encoded public and private key from the example sections | of the pkcs.tar.Z and encrypt and decrypt a sample string with it. | =============================================================================
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/regress/pkcs/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/sbin/isakmpd/regress/pkcs/Makefile b/sbin/isakmpd/regress/pkcs/Makefile
new file mode 100644
index 00000000000..51bc55e2b35
--- /dev/null
+++ b/sbin/isakmpd/regress/pkcs/Makefile
@@ -0,0 +1,18 @@
+# $Id: Makefile,v 1.4 1999/02/26 04:05:44 niklas Exp $
+
+# Test PKCS#1
+
+PROG= pkcstest
+SRCS= log.c asn.c gmp_util.c pkcs.c pkcstest.c sysdep.c \
+ asn_useful.c hash.c
+TOPSRC= ${.CURDIR}/../..
+TOPOBJ!= cd ${TOPSRC}; printf "all:\n\t@pwd\n" |${MAKE} -f-
+OS!= awk '/^OS=/ { print $$2 }' ${.CURDIR}/../../Makefile
+.PATH: ${TOPSRC} ${TOPSRC}/sysdep/${OS} ${TOPOBJ}
+CFLAGS+= -I${TOPSRC} -I${TOPSRC}/sysdep/${OS} -I${TOPOBJ} -Wall
+LDADD+= -lgmp
+DPADD+= ${LIBDES}
+NOMAN=
+DEBUG= -g
+
+.include <bsd.prog.mk>