forked from wolfSSL/wolfssl
WOLFSSL_CIPHER_INTERNALNAME option
This commit is contained in:
committed by
Go Hosohara
parent
c3abb6c0cd
commit
59beba6338
12
src/ssl.c
12
src/ssl.c
@ -15756,7 +15756,11 @@ const char* wolfSSL_CIPHER_get_name(const WOLFSSL_CIPHER* cipher)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return wolfSSL_get_cipher_name_iana(cipher->ssl);
|
#ifndef WOLFSSL_CIPHER_INTERNALNAME
|
||||||
|
return wolfSSL_get_cipher_name_iana(cipher->ssl);
|
||||||
|
#else
|
||||||
|
return wolfSSL_get_cipher_name_internal(cipher->ssl);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* wolfSSL_SESSION_CIPHER_get_name(WOLFSSL_SESSION* session)
|
const char* wolfSSL_SESSION_CIPHER_get_name(WOLFSSL_SESSION* session)
|
||||||
@ -15766,7 +15770,11 @@ const char* wolfSSL_SESSION_CIPHER_get_name(WOLFSSL_SESSION* session)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SESSION_CERTS
|
#ifdef SESSION_CERTS
|
||||||
return GetCipherNameIana(session->cipherSuite0, session->cipherSuite);
|
#ifndef WOLFSSL_CIPHER_INTERNALNAME
|
||||||
|
return GetCipherNameIana(session->cipherSuite0, session->cipherSuite);
|
||||||
|
#else
|
||||||
|
if return GetCipherNameInternal(ession->cipherSuite0, session->cipherSuite);
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user