From: Bodo Möller Date: Tue, 5 Mar 2002 09:06:57 +0000 (+0000) Subject: '#if OPENSSL_VERSION_NUMBER >= ...' to document the recent change X-Git-Tag: OpenSSL_0_9_7-beta1~174 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fa41e86a28b6f02f965d5909b1bfdb9e51cba72a;p=oweals%2Fopenssl.git '#if OPENSSL_VERSION_NUMBER >= ...' to document the recent change --- 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 #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;