提交 93683c3c 编写于 作者: B Bodo Möller

'#if OPENSSL_VERSION_NUMBER >= ...' to document the recent change

上级 a08ee55e
/* -*- 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 <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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册