add AUTH_RULE_SUBJECT_CERT for raw public keys

This commit is contained in:
Andreas Steffen 2012-04-30 13:40:48 +02:00
parent 6704d69f91
commit 552557a65d

View File

@ -406,6 +406,10 @@ static auth_cfg_t *build_auth_cfg(private_stroke_config_t *this,
{
certificate = this->cred->load_pubkey(this->cred, KEY_RSA, pubkey,
identity);
if (certificate)
{
cfg->add(cfg, AUTH_RULE_SUBJECT_CERT, certificate);
}
}
/* CA constraint */