forked from wolfSSL/wolfssl
fix for default OCSP cmp value and fix for WOLFSSL_NO_CLIENT_AUTH build
This commit is contained in:
@@ -279,7 +279,9 @@ static int IsUsingCert(const char* line)
|
||||
{
|
||||
return XSTRSTR(line, "-c ") != NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(NO_CERTS) || defined(WOLFSSL_NO_CLIENT_AUTH)
|
||||
static int IsNoClientCert(const char* line)
|
||||
{
|
||||
const char* begin;
|
||||
|
@@ -17556,7 +17556,7 @@ void FreeOcspRequest(OcspRequest* req)
|
||||
|
||||
int CompareOcspReqResp(OcspRequest* req, OcspResponse* resp)
|
||||
{
|
||||
int cmp = 0; /* start as matching if both req and resp have no values */
|
||||
int cmp = -1; /* default as not matching, cmp gets set on each check */
|
||||
OcspEntry *single, *next, *prev = NULL, *top;
|
||||
|
||||
WOLFSSL_ENTER("CompareOcspReqResp");
|
||||
|
Reference in New Issue
Block a user