src/wolfSSL/src/internal.c
static int CheckAltNames(DecodedCert* dCert, char* domain)
{
    int        match = 0;
    DNS_entry* altName = NULL;

    WOLFSSL_MSG("Checking AltNames");

    if (dCert)
        altName = dCert->altNames;

    while (altName) {
        WOLFSSL_MSG("    individual AltName check");

        if (MatchDomainName(altName->name,(int)XSTRLEN(altName->name), domain)){
            match = 1;
            break;
        }

        altName = altName->next;
    }

    return match;
}
/* try to find an altName match to domain, return 1 on success */
try to find an altName match to domain, return 1 on success
try to find an altName match to domain return 1 on success
static int CheckAltNames(DecodedCert* dCert, char* domain)
{
    int        match = 0;
    DNS_entry* altName = NULL;
    WOLFSSL_MSG("Checking AltNames");
    if (dCert)
        altName = dCert->altNames;
    while (altName) {
        WOLFSSL_MSG("    individual AltName check");
        if (MatchDomainName(altName->name,(int)XSTRLEN(altName->name), domain)){
            match = 1;
            break;
        }
        altName = altName->next;
    }
    return match;
}
static int CheckAltNames ( DecodedCert * dCert , char * domain ) { int match = 0 ; DNS_entry * altName = NULL ; WOLFSSL_MSG ( " " ) ; if ( dCert ) altName = dCert -> altNames ; while ( altName ) { WOLFSSL_MSG ( " " ) ; if ( MatchDomainName ( altName -> name , ( int ) XSTRLEN ( altName -> name ) , domain ) ) { match = 1 ; break ; } altName = altName -> next ; } return match ; }
try to find an altName match to domain, return 1 on success
try to find an altName match to domain return 1 on success