From 93683c3cf8a11c8f0afca499f392f510668f20ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Tue, 5 Mar 2002 09:07:16 +0000 Subject: [PATCH] '#if OPENSSL_VERSION_NUMBER >= ...' to document the recent change --- demos/easy_tls/easy-tls.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/demos/easy_tls/easy-tls.c b/demos/easy_tls/easy-tls.c index 25aedb94d9..9cd8314c3e 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.3 2002/02/28 10:52:01 bodo Exp $ + * $Id: easy-tls.c,v 1.4 2002/03/05 09:07:16 bodo Exp $ */ /* (c) Copyright 1999 Bodo Moeller. All rights reserved. @@ -73,7 +73,7 @@ */ static char const rcsid[] = -"$Id: easy-tls.c,v 1.3 2002/02/28 10:52:01 bodo Exp $"; +"$Id: easy-tls.c,v 1.4 2002/03/05 09:07:16 bodo Exp $"; #include #include @@ -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; -- 2.25.1