diff --git a/src/ssl.c b/src/ssl.c index d1d718952..9ba891d62 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -1641,6 +1641,7 @@ int wolfSSL_get_ciphers(char* buf, int len) return WOLFSSL_SUCCESS; } + #ifndef NO_ERROR_STRINGS /* places a list of all supported cipher suites in TLS_* format into "buf" * return WOLFSSL_SUCCESS on success */ diff --git a/tests/api.c b/tests/api.c index 700293ba6..4a896533a 100644 --- a/tests/api.c +++ b/tests/api.c @@ -1730,6 +1730,7 @@ static int test_wolfSSL_CTX_set_cipher_list_bytes(void) return EXPECT_RESULT(); } + static int test_wolfSSL_CTX_use_certificate_file(void) { EXPECT_DECLS; diff --git a/wolfssl/ssl.h b/wolfssl/ssl.h index 51b90a706..d1a88bd5d 100644 --- a/wolfssl/ssl.h +++ b/wolfssl/ssl.h @@ -1169,7 +1169,6 @@ WOLFSSL_API char* wolfSSL_get_cipher_list(int priority); WOLFSSL_API char* wolfSSL_get_cipher_list_ex(WOLFSSL* ssl, int priority); WOLFSSL_API int wolfSSL_get_ciphers(char* buf, int len); WOLFSSL_API int wolfSSL_get_ciphers_iana(char* buf, int len); -WOLFSSL_API int wolfSSL_get_cipher_list_bytes(byte* buf, int *len); WOLFSSL_API const char* wolfSSL_get_cipher_name(WOLFSSL* ssl); WOLFSSL_API const char* wolfSSL_get_cipher_name_from_suite( unsigned char cipherSuite0, unsigned char cipherSuite);