wolfSSL: Implement tls_connection_get_cipher_suite()

This is needed for EAP-TEAP.

Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com>
This commit is contained in:
Juliusz Sosinowicz 2021-08-26 11:25:34 +02:00 committed by Jouni Malinen
parent 364876b7da
commit a419fef367

View file

@ -2107,6 +2107,12 @@ void tls_connection_remove_session(struct tls_connection *conn)
}
u16 tls_connection_get_cipher_suite(struct tls_connection *conn)
{
return (u16) wolfSSL_get_current_cipher_suite(conn->ssl);
}
const char * tls_connection_get_peer_subject(struct tls_connection *conn)
{
if (conn)