certificate_t->issued_by takes an argument to receive signature scheme

This commit is contained in:
Martin Willi
2012-06-12 14:24:49 +02:00
parent 439d0742e9
commit a37f2d2006
16 changed files with 68 additions and 24 deletions
@@ -126,8 +126,13 @@ METHOD(certificate_t, equals, bool,
}
METHOD(certificate_t, issued_by, bool,
private_pubkey_cert_t *this, certificate_t *issuer)
private_pubkey_cert_t *this, certificate_t *issuer,
signature_scheme_t *scheme)
{
if (scheme)
{
*scheme = SIGN_UNKNOWN;
}
return equals(this, issuer);
}