Skip to content

Commit fc7bd37

Browse files
committed
Build_fix:
When building with --enable-opensslextra=x509small, only OPENSSL_EXTRA_X509_SMALL is defined, not OPENSSL_EXTRA, so these functions are not compiled into the library
1 parent 864c1ac commit fc7bd37

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/api/test_tls.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,8 +1063,7 @@ int test_tls12_corrupted_finished(void)
10631063
int test_wolfSSL_alert_type_string(void)
10641064
{
10651065
EXPECT_DECLS;
1066-
#if !defined(NO_TLS) && (defined(OPENSSL_EXTRA) || \
1067-
defined(OPENSSL_EXTRA_X509_SMALL))
1066+
#if !defined(NO_TLS) && defined(OPENSSL_EXTRA)
10681067
ExpectStrEQ(wolfSSL_alert_type_string(alert_warning), "W");
10691068
ExpectStrEQ(wolfSSL_alert_type_string(alert_fatal), "F");
10701069
ExpectStrEQ(wolfSSL_alert_type_string(0), "U");
@@ -1137,8 +1136,7 @@ int test_tls12_peerauth_failsafe(void)
11371136
int test_wolfSSL_alert_desc_string(void)
11381137
{
11391138
EXPECT_DECLS;
1140-
#if !defined(NO_TLS) && (defined(OPENSSL_EXTRA) || \
1141-
defined(OPENSSL_EXTRA_X509_SMALL))
1139+
#if !defined(NO_TLS) && defined(OPENSSL_EXTRA)
11421140
ExpectStrEQ(wolfSSL_alert_desc_string(close_notify), "CN");
11431141
ExpectStrEQ(wolfSSL_alert_desc_string(unexpected_message), "UM");
11441142
ExpectStrEQ(wolfSSL_alert_desc_string(bad_record_mac), "BM");

0 commit comments

Comments
 (0)