Merge pull request #5740 from JacobBarthelmeh/release

minor warning fixes
pull/5742/head
Daniel Pouzzner 2022-10-26 14:09:01 -05:00 committed by GitHub
commit 1608037c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1648,7 +1648,7 @@ int ALPN_Select(WOLFSSL *ssl)
if (ssl->alpnSelect(ssl, &sel, &sel_len, ssl->alpn_peer_requested,
ssl->alpn_peer_requested_length,
ssl->alpnSelectArg) == 0) {
WOLFSSL_MSG_EX("ALPN protocol match");
WOLFSSL_MSG("ALPN protocol match");
}
else {
sel = NULL;

View File

@ -48476,6 +48476,7 @@ static int test_wolfSSL_d2i_OCSP_CERTID(void)
/* If the cert ID is not NULL the function will just copy the data to it. */
certId = (WOLFSSL_OCSP_CERTID*)XMALLOC(sizeof(*certId), NULL,
DYNAMIC_TYPE_TMP_BUFFER);
AssertNotNull(certId);
XMEMSET(certId, 0, sizeof(*certId));
/* Reset rawCertIdPtr since it was push forward in the previous call. */