File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -860,7 +860,7 @@ openssl_iostream_get_security_string(struct ssl_iostream *ssl_io)
860860 int bits , alg_bits ;
861861
862862 if (!ssl_io -> handshaked )
863- return "" ;
863+ return NULL ;
864864
865865 cipher = SSL_get_current_cipher (ssl_io -> ssl );
866866 bits = SSL_CIPHER_get_bits (cipher , & alg_bits );
Original file line number Diff line number Diff line change @@ -131,6 +131,8 @@ const char *ssl_iostream_get_compression(struct ssl_iostream *ssl_io);
131131 provided.
132132 */
133133const char * ssl_iostream_get_server_name (struct ssl_iostream * ssl_io );
134+ /* Returns textual representation of the security parameters for the connection,
135+ or NULL if handshake has not been done. */
134136const char * ssl_iostream_get_security_string (struct ssl_iostream * ssl_io );
135137
136138/* Returns ClientHello based JA3 string. Will return NULL
You can’t perform that action at this time.
0 commit comments