Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-03-05 12:06:57 +0300
committerBodo Möller <bodo@openssl.org>2002-03-05 12:06:57 +0300
commitfa41e86a28b6f02f965d5909b1bfdb9e51cba72a (patch)
tree4a1428a15adc9786d841edce8387237eaaae2e7a /demos
parent9e77b7075a0506b99dca13a00337e1ada1dadc4a (diff)
'#if OPENSSL_VERSION_NUMBER >= ...' to document the recent change
Diffstat (limited to 'demos')
-rw-r--r--demos/easy_tls/easy-tls.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/demos/easy_tls/easy-tls.c b/demos/easy_tls/easy-tls.c
index cff0e30bfc..9c1d982939 100644
--- a/demos/easy_tls/easy-tls.c
+++ b/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.2.2.1 2002/02/28 10:55:00 bodo Exp $
+ * $Id: easy-tls.c,v 1.2.2.2 2002/03/05 09:06:57 bodo Exp $
*/
/*
(c) Copyright 1999 Bodo Moeller. All rights reserved.
@@ -73,7 +73,7 @@
*/
static char const rcsid[] =
-"$Id: easy-tls.c,v 1.2.2.1 2002/02/28 10:55:00 bodo Exp $";
+"$Id: easy-tls.c,v 1.2.2.2 2002/03/05 09:06:57 bodo 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;