Skip to content

Commit

Permalink
re-add function to new file
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbland1 committed Apr 17, 2024
1 parent b184cdf commit 804cf1c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ssl_sess.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 804cf1c

Please sign in to comment.