Branch: Tag:

2015-12-10

2015-12-10 11:41:17 by Tobias S. Josefowitz <tobij@tobij.de>

Standards.X509: only claim cert chain verified when no errors occured

1827:    && tbs)    {    DBG("signature is verified..\n"); -  m->verified = verified = 1; +  verified = 1;       // if we're the root of the chain and we've verified, this is    // the authority.
1843:    ERROR(CERT_BAD_SIGNATURE);    return m;    } +  else if (zero_type(m->error_code)) // only if no error occured... +  m->verified = verified;    }    return m;