Skip to content

Commit 4500977

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 1c97cb7 commit 4500977

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/api/test_tls.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -773,8 +773,7 @@ int test_tls_set_curves_list_ecc_fallback(void)
773773
int test_wolfSSL_alert_type_string(void)
774774
{
775775
EXPECT_DECLS;
776-
#if !defined(NO_TLS) && (defined(OPENSSL_EXTRA) || \
777-
defined(OPENSSL_EXTRA_X509_SMALL))
776+
#if !defined(NO_TLS) && defined(OPENSSL_EXTRA)
778777
ExpectStrEQ(wolfSSL_alert_type_string(alert_warning), "W");
779778
ExpectStrEQ(wolfSSL_alert_type_string(alert_fatal), "F");
780779
ExpectStrEQ(wolfSSL_alert_type_string(0), "U");
@@ -788,8 +787,7 @@ int test_wolfSSL_alert_type_string(void)
788787
int test_wolfSSL_alert_desc_string(void)
789788
{
790789
EXPECT_DECLS;
791-
#if !defined(NO_TLS) && (defined(OPENSSL_EXTRA) || \
792-
defined(OPENSSL_EXTRA_X509_SMALL))
790+
#if !defined(NO_TLS) && defined(OPENSSL_EXTRA)
793791
ExpectStrEQ(wolfSSL_alert_desc_string(close_notify), "CN");
794792
ExpectStrEQ(wolfSSL_alert_desc_string(unexpected_message), "UM");
795793
ExpectStrEQ(wolfSSL_alert_desc_string(bad_record_mac), "BM");

0 commit comments

Comments
 (0)