forked from wolfSSL/wolfssl
Sean comments
This commit is contained in:
@ -36849,14 +36849,14 @@ WOLFSSL_RSA* wolfSSL_RSAPublicKey_dup(WOLFSSL_RSA *rsa)
|
|||||||
void* wolfSSL_RSA_get_ex_data(const WOLFSSL_RSA *rsa, int idx)
|
void* wolfSSL_RSA_get_ex_data(const WOLFSSL_RSA *rsa, int idx)
|
||||||
{
|
{
|
||||||
WOLFSSL_ENTER("wolfSSL_RSA_get_ex_data");
|
WOLFSSL_ENTER("wolfSSL_RSA_get_ex_data");
|
||||||
#ifdef HAVE_EX_DATA
|
#ifdef HAVE_EX_DATA
|
||||||
if (rsa) {
|
if (rsa) {
|
||||||
return wolfSSL_CRYPTO_get_ex_data(&rsa->ex_data, idx);
|
return wolfSSL_CRYPTO_get_ex_data(&rsa->ex_data, idx);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
(void)rsa;
|
(void)rsa;
|
||||||
(void)idx;
|
(void)idx;
|
||||||
#endif
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -220,9 +220,9 @@ enum
|
|||||||
NID_domainComponent = 0x19, /* matches ASN_DOMAIN_COMPONENT in asn.h */
|
NID_domainComponent = 0x19, /* matches ASN_DOMAIN_COMPONENT in asn.h */
|
||||||
NID_emailAddress = 0x30, /* emailAddress */
|
NID_emailAddress = 0x30, /* emailAddress */
|
||||||
NID_id_on_dnsSRV = 82, /* 1.3.6.1.5.5.7.8.7 */
|
NID_id_on_dnsSRV = 82, /* 1.3.6.1.5.5.7.8.7 */
|
||||||
NID_ms_upn = 265, /* 1.3.6.1.4.1.311.20.2.3 */
|
NID_ms_upn = 265, /* 1.3.6.1.4.1.311.20.2.3 */
|
||||||
|
|
||||||
NID_X9_62_prime_field = 406
|
NID_X9_62_prime_field = 406 /* 1.2.840.10045.1.1 */
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ECC_TYPES
|
enum ECC_TYPES
|
||||||
|
Reference in New Issue
Block a user