diff options
author | 2002-09-05 22:12:11 +0000 | |
---|---|---|
committer | 2002-09-05 22:12:11 +0000 | |
commit | 8b4ee906e92eb6adb6ebf60047195837173ec9a2 (patch) | |
tree | d68f3c1817357a624a131bfe988c9941f64d160f /lib/libssl/src/demos | |
parent | fpu save state is a separate magic function now (diff) | |
download | wireguard-openbsd-8b4ee906e92eb6adb6ebf60047195837173ec9a2.tar.xz wireguard-openbsd-8b4ee906e92eb6adb6ebf60047195837173ec9a2.zip |
merge with 0.9.7-beta1
Diffstat (limited to 'lib/libssl/src/demos')
-rw-r--r-- | lib/libssl/src/demos/easy_tls/Makefile | 2 | ||||
-rw-r--r-- | lib/libssl/src/demos/easy_tls/cacerts.pem | 2 | ||||
-rw-r--r-- | lib/libssl/src/demos/easy_tls/cert.pem | 2 | ||||
-rw-r--r-- | lib/libssl/src/demos/easy_tls/easy-tls.c | 9 | ||||
-rw-r--r-- | lib/libssl/src/demos/easy_tls/easy-tls.h | 2 | ||||
-rw-r--r-- | lib/libssl/src/demos/easy_tls/test.c | 2 | ||||
-rw-r--r-- | lib/libssl/src/demos/easy_tls/test.h | 2 |
7 files changed, 13 insertions, 8 deletions
diff --git a/lib/libssl/src/demos/easy_tls/Makefile b/lib/libssl/src/demos/easy_tls/Makefile index fd3c246ef4e..32a79c4cc99 100644 --- a/lib/libssl/src/demos/easy_tls/Makefile +++ b/lib/libssl/src/demos/easy_tls/Makefile @@ -1,5 +1,5 @@ # Makefile for easy-tls example application (rudimentary client and server) -# $Id: Makefile,v 1.1 2002/05/15 02:29:18 beck Exp $ +# $Id: Makefile,v 1.2 2002/09/05 22:12:11 markus Exp $ SOLARIS_CFLAGS=-Wall -pedantic -g -O2 SOLARIS_LIBS=-lxnet diff --git a/lib/libssl/src/demos/easy_tls/cacerts.pem b/lib/libssl/src/demos/easy_tls/cacerts.pem index 0b1c91f95ee..036e3c3dc0a 100644 --- a/lib/libssl/src/demos/easy_tls/cacerts.pem +++ b/lib/libssl/src/demos/easy_tls/cacerts.pem @@ -1,4 +1,4 @@ -$Id: cacerts.pem,v 1.1 2002/05/15 02:29:18 beck Exp $ +$Id: cacerts.pem,v 1.2 2002/09/05 22:12:11 markus Exp $ issuer= /C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Test PCA (1024 bit) subject=/C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Test CA (1024 bit) diff --git a/lib/libssl/src/demos/easy_tls/cert.pem b/lib/libssl/src/demos/easy_tls/cert.pem index d4d19d9ad1f..ab38de65e78 100644 --- a/lib/libssl/src/demos/easy_tls/cert.pem +++ b/lib/libssl/src/demos/easy_tls/cert.pem @@ -1,4 +1,4 @@ -$Id: cert.pem,v 1.1 2002/05/15 02:29:18 beck Exp $ +$Id: cert.pem,v 1.2 2002/09/05 22:12:11 markus Exp $ Example certificate and key. diff --git a/lib/libssl/src/demos/easy_tls/easy-tls.c b/lib/libssl/src/demos/easy_tls/easy-tls.c index 9fa0ef9a6be..70f7ae3c11b 100644 --- a/lib/libssl/src/demos/easy_tls/easy-tls.c +++ b/lib/libssl/src/demos/easy_tls/easy-tls.c @@ -1,7 +1,7 @@ /* -*- Mode: C; c-file-style: "bsd" -*- */ /* * easy-tls.c -- generic TLS proxy. - * $Id: easy-tls.c,v 1.1 2002/05/15 02:29:18 beck Exp $ + * $Id: easy-tls.c,v 1.2 2002/09/05 22:12:11 markus Exp $ */ /* (c) Copyright 1999 Bodo Moeller. All rights reserved. @@ -73,7 +73,7 @@ */ static char const rcsid[] = -"$Id: easy-tls.c,v 1.1 2002/05/15 02:29:18 beck Exp $"; +"$Id: easy-tls.c,v 1.2 2002/09/05 22:12:11 markus Exp $"; #include <assert.h> #include <errno.h> @@ -567,8 +567,13 @@ no_passphrase_callback(char *buf, int num, int w, void *arg) return -1; } +#if OPENSSL_VERSION_NUMBER >= 0x00907000L static int verify_dont_fail_cb(X509_STORE_CTX *c, void *unused_arg) +#else +static int +verify_dont_fail_cb(X509_STORE_CTX *c) +#endif { int i; diff --git a/lib/libssl/src/demos/easy_tls/easy-tls.h b/lib/libssl/src/demos/easy_tls/easy-tls.h index 0cfbd8fe7b8..31332004438 100644 --- a/lib/libssl/src/demos/easy_tls/easy-tls.h +++ b/lib/libssl/src/demos/easy_tls/easy-tls.h @@ -1,7 +1,7 @@ /* -*- Mode: C; c-file-style: "bsd" -*- */ /* * easy-tls.h -- generic TLS proxy. - * $Id: easy-tls.h,v 1.1 2002/05/15 02:29:18 beck Exp $ + * $Id: easy-tls.h,v 1.2 2002/09/05 22:12:11 markus Exp $ */ /* * (c) Copyright 1999 Bodo Moeller. All rights reserved. diff --git a/lib/libssl/src/demos/easy_tls/test.c b/lib/libssl/src/demos/easy_tls/test.c index 4ce676ca93e..f86141d1d89 100644 --- a/lib/libssl/src/demos/easy_tls/test.c +++ b/lib/libssl/src/demos/easy_tls/test.c @@ -1,5 +1,5 @@ /* test.c */ -/* $Id: test.c,v 1.1 2002/05/15 02:29:18 beck Exp $ */ +/* $Id: test.c,v 1.2 2002/09/05 22:12:11 markus Exp $ */ #define L_PORT 9999 #define C_PORT 443 diff --git a/lib/libssl/src/demos/easy_tls/test.h b/lib/libssl/src/demos/easy_tls/test.h index c580169464b..575391c00b7 100644 --- a/lib/libssl/src/demos/easy_tls/test.h +++ b/lib/libssl/src/demos/easy_tls/test.h @@ -1,5 +1,5 @@ /* test.h */ -/* $Id: test.h,v 1.1 2002/05/15 02:29:18 beck Exp $ */ +/* $Id: test.h,v 1.2 2002/09/05 22:12:11 markus Exp $ */ void test_process_init(int fd, int client_p, void *apparg); |