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:
parent
364876b7da
commit
a419fef367
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue