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