Download wolfSSL Manual
Transcript
WOLFSSL* ssl; ... wolfSSL_KeepArrays(ssl); See Also: wolfSSL_FreeArrays wolfSSL_FreeArrays Synopsis: #include <wolfssl/ssl.h> void wolfSSL_FreeArrays(WOLFSSL* ssl); Description: Normally, at the end of the SSL handshake, wolfSSL frees temporary arrays. If wolfSSL_KeepArrays() has been called before the handshake, wolfSSL will not free temporary arrays. This function explicitly frees temporary arrays and should be called when the user is done with temporary arrays and does not want to wait for the SSL object to be freed to free these resources. Return Values: This function has no return value. Parameters: ssl - a pointer to a WOLFSSL structure, created using wolfSSL_new(). Example: WOLFSSL* ssl; ... wolfSSL_FreeArrays(ssl); See Also: wolfSSL_KeepArrays 17.3 Context and Session Setup Copyright 2015 wolfSSL Inc. All rights reserved. 155