Loading lib/vtls/gtls.c +10 −9 Original line number Original line Diff line number Diff line Loading @@ -797,6 +797,16 @@ gtls_connect_step3(struct connectdata *conn, #endif #endif CURLcode result = CURLE_OK; CURLcode result = CURLE_OK; gnutls_protocol_t version = gnutls_protocol_get_version(session); /* the name of the cipher suite used, e.g. ECDHE_RSA_AES_256_GCM_SHA384. */ ptr = gnutls_cipher_suite_get_name(gnutls_kx_get(session), gnutls_cipher_get(session), gnutls_mac_get(session)); infof(data, "SSL connection using %s / %s\n", gnutls_protocol_get_name(version), ptr); /* This function will return the peer's raw certificate (chain) as sent by /* This function will return the peer's raw certificate (chain) as sent by the peer. These certificates are in raw format (DER encoded for the peer. These certificates are in raw format (DER encoded for X.509). In case of a X.509 then a certificate list may be present. The X.509). In case of a X.509 then a certificate list may be present. The Loading Loading @@ -1036,7 +1046,6 @@ gtls_connect_step3(struct connectdata *conn, /* Show: /* Show: - ciphers used - subject - subject - start date - start date - expire date - expire date Loading Loading @@ -1076,14 +1085,6 @@ gtls_connect_step3(struct connectdata *conn, /* the *_get_name() says "NULL" if GNUTLS_COMP_NULL is returned */ /* the *_get_name() says "NULL" if GNUTLS_COMP_NULL is returned */ infof(data, "\t compression: %s\n", ptr); infof(data, "\t compression: %s\n", ptr); /* the name of the cipher used. ie 3DES. */ ptr = gnutls_cipher_get_name(gnutls_cipher_get(session)); infof(data, "\t cipher: %s\n", ptr); /* the MAC algorithms name. ie SHA1 */ ptr = gnutls_mac_get_name(gnutls_mac_get(session)); infof(data, "\t MAC: %s\n", ptr); #ifdef HAS_ALPN #ifdef HAS_ALPN if(data->set.ssl_enable_alpn) { if(data->set.ssl_enable_alpn) { rc = gnutls_alpn_get_selected_protocol(session, &proto); rc = gnutls_alpn_get_selected_protocol(session, &proto); Loading Loading
lib/vtls/gtls.c +10 −9 Original line number Original line Diff line number Diff line Loading @@ -797,6 +797,16 @@ gtls_connect_step3(struct connectdata *conn, #endif #endif CURLcode result = CURLE_OK; CURLcode result = CURLE_OK; gnutls_protocol_t version = gnutls_protocol_get_version(session); /* the name of the cipher suite used, e.g. ECDHE_RSA_AES_256_GCM_SHA384. */ ptr = gnutls_cipher_suite_get_name(gnutls_kx_get(session), gnutls_cipher_get(session), gnutls_mac_get(session)); infof(data, "SSL connection using %s / %s\n", gnutls_protocol_get_name(version), ptr); /* This function will return the peer's raw certificate (chain) as sent by /* This function will return the peer's raw certificate (chain) as sent by the peer. These certificates are in raw format (DER encoded for the peer. These certificates are in raw format (DER encoded for X.509). In case of a X.509 then a certificate list may be present. The X.509). In case of a X.509 then a certificate list may be present. The Loading Loading @@ -1036,7 +1046,6 @@ gtls_connect_step3(struct connectdata *conn, /* Show: /* Show: - ciphers used - subject - subject - start date - start date - expire date - expire date Loading Loading @@ -1076,14 +1085,6 @@ gtls_connect_step3(struct connectdata *conn, /* the *_get_name() says "NULL" if GNUTLS_COMP_NULL is returned */ /* the *_get_name() says "NULL" if GNUTLS_COMP_NULL is returned */ infof(data, "\t compression: %s\n", ptr); infof(data, "\t compression: %s\n", ptr); /* the name of the cipher used. ie 3DES. */ ptr = gnutls_cipher_get_name(gnutls_cipher_get(session)); infof(data, "\t cipher: %s\n", ptr); /* the MAC algorithms name. ie SHA1 */ ptr = gnutls_mac_get_name(gnutls_mac_get(session)); infof(data, "\t MAC: %s\n", ptr); #ifdef HAS_ALPN #ifdef HAS_ALPN if(data->set.ssl_enable_alpn) { if(data->set.ssl_enable_alpn) { rc = gnutls_alpn_get_selected_protocol(session, &proto); rc = gnutls_alpn_get_selected_protocol(session, &proto); Loading