mirror of https://github.com/wolfSSL/wolfssl.git
commit
1608037c6b
|
@ -1648,7 +1648,7 @@ int ALPN_Select(WOLFSSL *ssl)
|
||||||
if (ssl->alpnSelect(ssl, &sel, &sel_len, ssl->alpn_peer_requested,
|
if (ssl->alpnSelect(ssl, &sel, &sel_len, ssl->alpn_peer_requested,
|
||||||
ssl->alpn_peer_requested_length,
|
ssl->alpn_peer_requested_length,
|
||||||
ssl->alpnSelectArg) == 0) {
|
ssl->alpnSelectArg) == 0) {
|
||||||
WOLFSSL_MSG_EX("ALPN protocol match");
|
WOLFSSL_MSG("ALPN protocol match");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sel = NULL;
|
sel = NULL;
|
||||||
|
|
|
@ -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. */
|
/* If the cert ID is not NULL the function will just copy the data to it. */
|
||||||
certId = (WOLFSSL_OCSP_CERTID*)XMALLOC(sizeof(*certId), NULL,
|
certId = (WOLFSSL_OCSP_CERTID*)XMALLOC(sizeof(*certId), NULL,
|
||||||
DYNAMIC_TYPE_TMP_BUFFER);
|
DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
|
AssertNotNull(certId);
|
||||||
XMEMSET(certId, 0, sizeof(*certId));
|
XMEMSET(certId, 0, sizeof(*certId));
|
||||||
|
|
||||||
/* Reset rawCertIdPtr since it was push forward in the previous call. */
|
/* Reset rawCertIdPtr since it was push forward in the previous call. */
|
||||||
|
|
Loading…
Reference in New Issue