aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/wvdial/wvstreams/04_signed_request.diff
blob: 50f3f72cd41e6f983c21f0f269c00e51025cd22c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Upstream-Status: Pending

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);