We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b184cdf commit 804cf1cCopy full SHA for 804cf1c
1 file changed
src/ssl_sess.c
@@ -283,6 +283,13 @@ WOLFSSL_SESSION* wolfSSL_get1_session(WOLFSSL* ssl)
283
return sess;
284
}
285
286
+/* session is a private struct, return if it is setup or not */
287
+WOLFSSL_API int wolfSSL_SessionIsSetup(WOLFSSL_SESSION* session)
288
+{
289
+ if (session != NULL)
290
+ return session->isSetup;
291
+ return 0;
292
+}
293
294
/*
295
* Sets the session object to use when establishing a TLS/SSL session using
0 commit comments