summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvchat-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vchat-ssl.c b/vchat-ssl.c
index fab5ffe..2a1c28a 100755
--- a/vchat-ssl.c
+++ b/vchat-ssl.c
@@ -197,7 +197,7 @@ int vc_connect_ssl( BIO **conn, vc_x509store_t *vc_store )
197 } 197 }
198#else 198#else
199 /* show & verify fingerprint */ 199 /* show & verify fingerprint */
200 if (result == X509_V_OK) { 200 if ((result == X509_V_OK) || getintoption(CF_IGNSSL)) {
201 X509 *peercert = SSL_get_peer_certificate(sslp); 201 X509 *peercert = SSL_get_peer_certificate(sslp);
202 202
203 /* FIXME: this IS bad code */ 203 /* FIXME: this IS bad code */