summaryrefslogtreecommitdiff
path: root/vchat-ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-ssl.c')
-rwxr-xr-xvchat-ssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vchat-ssl.c b/vchat-ssl.c
index 0333aee..986187f 100755
--- a/vchat-ssl.c
+++ b/vchat-ssl.c
@@ -143,6 +143,7 @@ int vc_connect_ssl( BIO **conn, vc_x509store_t *vc_store )
143 143
144 /* Get cipher object */ 144 /* Get cipher object */
145 BIO_get_ssl(ssl_conn, &sslp); 145 BIO_get_ssl(ssl_conn, &sslp);
146 if (sslp)
146 cipher = SSL_get_current_cipher(sslp); 147 cipher = SSL_get_current_cipher(sslp);
147 if (cipher) { 148 if (cipher) {
148 char cipher_desc[TMPSTRSIZE]; 149 char cipher_desc[TMPSTRSIZE];