libtls: Merge trustchain auth verification details done during TLS handhsake

This commit is contained in:
Martin Willi
2015-03-03 14:08:00 +01:00
parent 0c608316dd
commit aba5b76ce1
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -324,6 +324,7 @@ static public_key_t *find_public_key(private_tls_peer_t *this)
while (enumerator->enumerate(enumerator, &current, &auth))
{
public = current->get_ref(current);
this->server_auth->merge(this->server_auth, auth, FALSE);
break;
}
enumerator->destroy(enumerator);
+1
View File
@@ -551,6 +551,7 @@ static status_t process_cert_verify(private_tls_server_t *this,
sig->destroy(sig);
if (verified)
{
this->peer_auth->merge(this->peer_auth, auth, FALSE);
break;
}
DBG1(DBG_TLS, "signature verification failed, trying another key");