diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-07-30 10:07:42 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-07-30 10:07:42 +0200 |
commit | 16cb818a74adee718ff94d408b50b59996fe918f (patch) | |
tree | 440c4e3a7ce3a4a85c3851a2fe1a8f8369c01d67 /lib/vtls | |
parent | 8dfd22089cac13f718815eb60581ad392b7f106e (diff) |
cyassl: made it compile with version 2.0.6 again
ASN_NO_SIGNER_E didn't exist back then!
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/cyassl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c index 9e0c80e21..56e56e45e 100644 --- a/lib/vtls/cyassl.c +++ b/lib/vtls/cyassl.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -299,6 +299,7 @@ cyassl_connect_step2(struct connectdata *conn, } #endif } +#ifdef ASN_NO_SIGNER_E /* not present in 2.0.6 */ else if(ASN_NO_SIGNER_E == detail) { if(data->set.ssl.verifypeer) { failf(data, "\tCA signer not available for verification\n"); @@ -311,6 +312,7 @@ cyassl_connect_step2(struct connectdata *conn, "continuing anyway\n"); } } +#endif else { failf(data, "SSL_connect failed with error %d: %s", detail, ERR_error_string(detail, error_buffer)); |