1
0
mirror of https://github.com/moparisthebest/curl synced 2024-10-31 15:45:12 -04:00

wolfssl: display negotiated SSL version and cipher

This commit is contained in:
Dan Fandrich 2017-01-07 00:09:10 +01:00
parent bbee0d4eee
commit ba19feba94

View File

@ -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;
}