Skip to content

Commit b184cdf

Browse files
committed
add underscore to make it more consistient and readable
1 parent c1dbbcc commit b184cdf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47152,7 +47152,7 @@ static int test_wolfSSL_SESSION(void)
4715247152

4715347153
ExpectPtrNE((sess = wolfSSL_get1_session(ssl)), NULL); /* ref count 1 */
4715447154
ExpectPtrNE((sess_copy = wolfSSL_get1_session(ssl)), NULL); /* ref count 2 */
47155-
ExpectIntEQ(wolfSSLSessionIsSetup(sess), 1);
47155+
ExpectIntEQ(wolfSSL_SessionIsSetup(sess), 1);
4715647156
#ifdef HAVE_EXT_CACHE
4715747157
ExpectPtrEq(sess, sess_copy); /* they should be the same pointer but without
4715847158
* HAVE_EXT_CACHE we get new objects each time */

wolfssl/ssl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ WOLFSSL_API const char* wolfSSL_SESSION_CIPHER_get_name(const WOLFSSL_SESSION*
16911691
WOLFSSL_API const char* wolfSSL_get_cipher(WOLFSSL* ssl);
16921692
WOLFSSL_API void wolfSSL_sk_CIPHER_free(WOLF_STACK_OF(WOLFSSL_CIPHER)* sk);
16931693
WOLFSSL_API WOLFSSL_SESSION* wolfSSL_get1_session(WOLFSSL* ssl);
1694-
WOLFSSL_API int wolfSSLSessionIsSetup(WOLFSSL_SESSION* session);
1694+
WOLFSSL_API int wolfSSL_SessionIsSetup(WOLFSSL_SESSION* session);
16951695

16961696
WOLFSSL_API WOLFSSL_X509* wolfSSL_X509_new(void);
16971697
WOLFSSL_API WOLFSSL_X509* wolfSSL_X509_new_ex(void* heap);

0 commit comments

Comments
 (0)