OpenSSL: Remove now unused compatibility wrapper for RSA_bits()
This function is not used anymore, but the compatibility wrapper for
older OpenSSL versions was forgotten to be removed.
Fixes: 09c62aaf11
("OpenSSL: Determine RSA key size without low-level routines")
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
a2dbb25583
commit
1176178437
1 changed files with 0 additions and 8 deletions
|
@ -114,14 +114,6 @@ static size_t SSL_SESSION_get_master_key(const SSL_SESSION *session,
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
||||||
(defined(LIBRESSL_VERSION_NUMBER) && \
|
(defined(LIBRESSL_VERSION_NUMBER) && \
|
||||||
LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
||||||
#ifdef CONFIG_SUITEB
|
|
||||||
static int RSA_bits(const RSA *r)
|
|
||||||
{
|
|
||||||
return BN_num_bits(r->n);
|
|
||||||
}
|
|
||||||
#endif /* CONFIG_SUITEB */
|
|
||||||
|
|
||||||
|
|
||||||
static const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x)
|
static const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x)
|
||||||
{
|
{
|
||||||
return ASN1_STRING_data((ASN1_STRING *) x);
|
return ASN1_STRING_data((ASN1_STRING *) x);
|
||||||
|
|
Loading…
Reference in a new issue