Skip to content

Commit

Permalink
Remove get cipher bytes from header
Browse files Browse the repository at this point in the history
  • Loading branch information
ColtonWilley committed Jul 11, 2024
1 parent 7b089f5 commit 978456e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion wolfssl/ssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 978456e

Please sign in to comment.