From 5ed1c233b72d5f9b363f8c0c90fb249ee3e51372 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Thu, 23 Jan 2020 10:12:42 -0800 Subject: [PATCH] Sean comments --- src/ssl.c | 6 +++--- wolfssl/wolfcrypt/asn.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index 167a381f3..72984c93e 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -36849,14 +36849,14 @@ WOLFSSL_RSA* wolfSSL_RSAPublicKey_dup(WOLFSSL_RSA *rsa) void* wolfSSL_RSA_get_ex_data(const WOLFSSL_RSA *rsa, int idx) { WOLFSSL_ENTER("wolfSSL_RSA_get_ex_data"); - #ifdef HAVE_EX_DATA +#ifdef HAVE_EX_DATA if (rsa) { return wolfSSL_CRYPTO_get_ex_data(&rsa->ex_data, idx); } - #else +#else (void)rsa; (void)idx; - #endif +#endif return NULL; } diff --git a/wolfssl/wolfcrypt/asn.h b/wolfssl/wolfcrypt/asn.h index 12f835b6e..29cd9d703 100644 --- a/wolfssl/wolfcrypt/asn.h +++ b/wolfssl/wolfcrypt/asn.h @@ -220,9 +220,9 @@ enum NID_domainComponent = 0x19, /* matches ASN_DOMAIN_COMPONENT in asn.h */ NID_emailAddress = 0x30, /* emailAddress */ 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