blob: 5ab633bc3d3faa4daa3c59a11dede7ec45c6eb76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: wvstreams-4.6/crypto/wvx509.cc
===================================================================
--- wvstreams-4.6.orig/crypto/wvx509.cc 2009-07-29 11:58:16.000000000 -0400
+++ wvstreams-4.6/crypto/wvx509.cc 2009-07-29 11:58:43.000000000 -0400
@@ -325,7 +325,7 @@
}
int verify_result = X509_REQ_verify(certreq, pk);
- if (verify_result == 0)
+ if (verify_result == 0 || verify_result == -1)
{
debug(WvLog::Warning, "Self signed request failed");
X509_REQ_free(certreq);
|