From: Dan Fandrich Date: Fri, 6 Jan 2017 23:09:10 +0000 (+0100) Subject: wolfssl: display negotiated SSL version and cipher X-Git-Tag: curl-7_53_0~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba19feba945d6d4aec2688dd43895eb57625c635;p=thirdparty%2Fcurl.git wolfssl: display negotiated SSL version and cipher --- diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c index f494a011dd..705bb18c26 100644 --- a/lib/vtls/cyassl.c +++ b/lib/vtls/cyassl.c @@ -591,7 +591,13 @@ cyassl_connect_step2(struct connectdata *conn, #endif /* HAVE_ALPN */ conssl->connecting_state = ssl_connect_3; +#if (LIBCYASSL_VERSION_HEX >= 0x03009010) + infof(data, "SSL connection using %s / %s\n", + wolfSSL_get_version(conssl->handle), + wolfSSL_get_cipher_name(conssl->handle)); +#else infof(data, "SSL connected\n"); +#endif return CURLE_OK; }