/* -*- Mode: C; c-file-style: "bsd" -*- */
/*
* easy-tls.c -- generic TLS proxy.
- * $Id: easy-tls.c,v 1.1 2001/09/17 19:06:57 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.
*/
static char const rcsid[] =
-"$Id: easy-tls.c,v 1.1 2001/09/17 19:06:57 bodo Exp $";
+"$Id: easy-tls.c,v 1.4 2002/03/05 09:07:16 bodo Exp $";
#include <assert.h>
#include <errno.h>
assert(app_prefix_2 != NULL);
if (default_text == NULL)
- default_text = "???";
+ default_text = "?""?""?";
while ((err = ERR_get_error_line_data(&file,&line,&data,&flags)) != 0) {
if (reasons_i < sizeof reasons) {
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;