Skip to content
Snippets Groups Projects
Commit 3d5be801 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

cyassl: fix the test for ASN_NO_SIGNER_E

It's an enum so a macro test won't work. The CyaSSL changelog doesn't
say exactly when this error code was introduced, but it's likely
to be 2.7.0.
parent 1aa6418a
No related branches found
No related tags found
No related merge requests found
......@@ -300,7 +300,7 @@ cyassl_connect_step2(struct connectdata *conn,
}
#endif
}
#ifdef ASN_NO_SIGNER_E /* not present in 2.0.6 */
#if LIBCYASSL_VERSION_HEX >= 0x02007000 /* 2.7.0 */
else if(ASN_NO_SIGNER_E == detail) {
if(data->set.ssl.verifypeer) {
failf(data, "\tCA signer not available for verification\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment