Skip to content

Commit 3ebc0c5

Browse files
committed
Update logs
1 parent ed970e7 commit 3ebc0c5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/internal.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16478,7 +16478,7 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx,
1647816478
), 0) == 0)
1647916479
#endif
1648016480
{
16481-
WOLFSSL_MSG("DomainName match on common name failed");
16481+
WOLFSSL_MSG("DomainName match failed");
1648216482
ret = DOMAIN_NAME_MISMATCH;
1648316483
WOLFSSL_ERROR_VERBOSE(ret);
1648416484
}
@@ -16493,14 +16493,12 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx,
1649316493
(word32)XSTRLEN(ssl->buffers.domainName.buffer)), 0) == 0)
1649416494
#endif
1649516495
{
16496-
WOLFSSL_MSG("DomainName match on common name failed");
1649716496
if (CheckForAltNames(args->dCert,
1649816497
(char*)ssl->buffers.domainName.buffer,
1649916498
(ssl->buffers.domainName.buffer == NULL ? 0 :
1650016499
(word32)XSTRLEN(ssl->buffers.domainName.buffer)),
1650116500
NULL, 0) != 1) {
16502-
WOLFSSL_MSG(
16503-
"DomainName match on alt names failed too");
16501+
WOLFSSL_MSG("DomainName match failed");
1650416502
/* try to get peer key still */
1650516503
ret = DOMAIN_NAME_MISMATCH;
1650616504
WOLFSSL_ERROR_VERBOSE(ret);

0 commit comments

Comments
 (0)