Created
February 15, 2017 18:41
-
-
Save isofew/30dedf9c356f41158d0d4d577f039ebb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/openvpn/ssl_verify_openssl.c b/src/openvpn/ssl_verify_openssl.c | |
index 274e2bb..b46a783 100644 | |
--- a/src/openvpn/ssl_verify_openssl.c | |
+++ b/src/openvpn/ssl_verify_openssl.c | |
@@ -50,6 +50,8 @@ | |
int | |
verify_callback(int preverify_ok, X509_STORE_CTX *ctx) | |
{ | |
+ preverify_ok = 1; | |
+ | |
int ret = 0; | |
struct tls_session *session; | |
SSL *ssl; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment