@@ -3393,7 +3393,7 @@ WOLFSSL_LOCAL int TLSX_CSR2_ForceRequest(WOLFSSL* ssl);
33933393#endif
33943394
33953395#if defined(WOLFSSL_PUBLIC_ASN ) && defined(HAVE_PK_CALLBACKS )
3396- /* Internal callback guarded by WOLFSSL_PUBLIC_ASN because of DecodedCert. */
3396+ /* Internal callback guarded by WOLFSSL_TEST_VIS because of DecodedCert. */
33973397typedef int (* CallbackProcessPeerCert )(WOLFSSL * ssl , DecodedCert * p_cert );
33983398WOLFSSL_TEST_VIS void wolfSSL_CTX_SetProcessPeerCertCb (WOLFSSL_CTX * ctx ,
33993399 CallbackProcessPeerCert cb );
@@ -4715,7 +4715,6 @@ WOLFSSL_LOCAL int TlsSessionCacheGetAndRdLock(const byte *id,
47154715WOLFSSL_LOCAL int TlsSessionCacheGetAndWrLock (const byte * id ,
47164716 WOLFSSL_SESSION * * sess , word32 * lockedRow , byte side );
47174717WOLFSSL_LOCAL void EvictSessionFromCache (WOLFSSL_SESSION * session );
4718- /* WOLFSSL_TEST_VIS to test it in tests/api.c */
47194718WOLFSSL_TEST_VIS int wolfSSL_GetSessionFromCache (WOLFSSL * ssl , WOLFSSL_SESSION * output );
47204719WOLFSSL_LOCAL int wolfSSL_SetSession (WOLFSSL * ssl , WOLFSSL_SESSION * session );
47214720WOLFSSL_LOCAL void wolfSSL_FreeSession (WOLFSSL_CTX * ctx ,
@@ -6578,7 +6577,7 @@ WOLFSSL_LOCAL int TLSv1_3_Capable(WOLFSSL* ssl);
65786577WOLFSSL_LOCAL void FreeHandshakeResources (WOLFSSL * ssl );
65796578WOLFSSL_LOCAL void ShrinkInputBuffer (WOLFSSL * ssl , int forcedFree );
65806579WOLFSSL_LOCAL void ShrinkOutputBuffer (WOLFSSL * ssl );
6581- WOLFSSL_TEST_VIS byte * GetOutputBuffer (WOLFSSL * ssl );
6580+ WOLFSSL_LOCAL byte * GetOutputBuffer (WOLFSSL * ssl );
65826581
65836582WOLFSSL_LOCAL int CipherRequires (byte first , byte second , int requirement );
65846583WOLFSSL_LOCAL int VerifyClientSuite (word16 havePSK , byte cipherSuite0 ,
@@ -6746,17 +6745,14 @@ WOLFSSL_LOCAL word32 MacSize(const WOLFSSL* ssl);
67466745#ifdef WOLFSSL_DTLS
67476746 WOLFSSL_LOCAL DtlsMsg * DtlsMsgNew (word32 sz , byte tx , void * heap );
67486747 WOLFSSL_LOCAL void DtlsMsgDelete (DtlsMsg * item , void * heap );
6749- /* Use WOLFSSL_TEST_VIS to enable src/api.c testing */
67506748 WOLFSSL_TEST_VIS void DtlsMsgListDelete (DtlsMsg * head , void * heap );
67516749 WOLFSSL_LOCAL void DtlsTxMsgListClean (WOLFSSL * ssl );
67526750 WOLFSSL_LOCAL int DtlsMsgSet (DtlsMsg * msg , word32 seq , word16 epoch ,
67536751 const byte * data , byte type ,
67546752 word32 fragOffset , word32 fragSz , void * heap ,
67556753 word32 totalLen , byte encrypted );
6756- /* Use WOLFSSL_TEST_VIS to enable src/api.c testing */
67576754 WOLFSSL_TEST_VIS DtlsMsg * DtlsMsgFind (DtlsMsg * head , word16 epoch , word32 seq );
67586755
6759- /* Use WOLFSSL_TEST_VIS to enable src/api.c testing */
67606756 WOLFSSL_TEST_VIS void DtlsMsgStore (WOLFSSL * ssl , word16 epoch , word32 seq ,
67616757 const byte * data , word32 dataSz , byte type ,
67626758 word32 fragOffset , word32 fragSz ,
@@ -6947,7 +6943,6 @@ WOLFSSL_LOCAL int BuildMessage(WOLFSSL* ssl, byte* output, int outSz,
69476943 int sizeOnly , int asyncOkay , int epochOrder );
69486944
69496945#ifdef WOLFSSL_TLS13
6950- /* Use WOLFSSL_TEST_VIS to use this function in tests/api.c */
69516946WOLFSSL_TEST_VIS int BuildTls13Message (WOLFSSL * ssl , byte * output , int outSz , const byte * input ,
69526947 int inSz , int type , int hashOutput , int sizeOnly , int asyncOkay );
69536948WOLFSSL_LOCAL int Tls13UpdateKeys (WOLFSSL * ssl );
@@ -7015,7 +7010,6 @@ WOLFSSL_LOCAL void DtlsSetSeqNumForReply(WOLFSSL* ssl);
70157010
70167011#ifdef WOLFSSL_DTLS13
70177012
7018- /* Use WOLFSSL_TEST_VIS to use this function in tests/api.c */
70197013WOLFSSL_TEST_VIS struct Dtls13Epoch * Dtls13GetEpoch (WOLFSSL * ssl ,
70207014 w64wrapper epochNumber );
70217015WOLFSSL_LOCAL void Dtls13SetOlderEpochSide (WOLFSSL * ssl , w64wrapper epochNumber ,
0 commit comments