re-add function to new file

This commit is contained in:
John Bland
2024-04-17 04:04:00 -04:00
parent b184cdf7b5
commit 804cf1c3b7

View File

@ -283,6 +283,13 @@ WOLFSSL_SESSION* wolfSSL_get1_session(WOLFSSL* ssl)
return sess;
}
/* session is a private struct, return if it is setup or not */
WOLFSSL_API int wolfSSL_SessionIsSetup(WOLFSSL_SESSION* session)
{
if (session != NULL)
return session->isSetup;
return 0;
}
/*
* Sets the session object to use when establishing a TLS/SSL session using