mirror of https://github.com/wolfSSL/wolfssl
Other miscellaneous fixes
This commit is contained in:
parent
bcbeef7647
commit
1329543b62
|
@ -1726,7 +1726,8 @@ AC_ARG_ENABLE([error-queue-per-thread],
|
|||
|
||||
if test "$ENABLED_ERRORQUEUEPERTHREAD" = "check"
|
||||
then
|
||||
AS_IF([test "$thread_ls_on" = "no"],
|
||||
AS_IF([test "$thread_ls_on" = "no" ||
|
||||
test "$ENABLED_SINGLETHREADED" = "yes"],
|
||||
[ENABLED_ERRORQUEUEPERTHREAD=no],
|
||||
[ENABLED_ERRORQUEUEPERTHREAD=yes])
|
||||
fi
|
||||
|
|
|
@ -1137,7 +1137,7 @@ WOLFSSL_OCSP_ONEREQ* wolfSSL_OCSP_request_add0_id(OcspRequest *req,
|
|||
return NULL;
|
||||
|
||||
if (req->cid != NULL)
|
||||
wolfSSL_OCSP_CERTID_free(req->cid);
|
||||
wolfSSL_OCSP_CERTID_free((WOLFSSL_OCSP_CERTID*)req->cid);
|
||||
/* Keep to free */
|
||||
req->cid = (void*)cid;
|
||||
|
||||
|
|
|
@ -1447,7 +1447,8 @@ static int test_wolfSSL_CTX_load_verify_locations(void)
|
|||
/* Get cert cache size */
|
||||
ExpectIntGT(cacheSz = wolfSSL_CTX_get_cert_cache_memsize(ctx), 0);
|
||||
|
||||
ExpectNotNull(cache = XMALLOC(cacheSz, NULL, DYNAMIC_TYPE_TMP_BUFFER));
|
||||
ExpectNotNull(cache = (byte*)XMALLOC(cacheSz, NULL,
|
||||
DYNAMIC_TYPE_TMP_BUFFER));
|
||||
|
||||
ExpectIntEQ(wolfSSL_CTX_memsave_cert_cache(NULL, NULL, -1, NULL),
|
||||
BAD_FUNC_ARG);
|
||||
|
|
Loading…
Reference in New Issue