Added support for different encryption schemes to private/public keys

This commit is contained in:
Martin Willi
2010-08-10 18:46:30 +02:00
parent 3547a9b87d
commit 33ddaaabec
19 changed files with 100 additions and 24 deletions
+2 -1
View File
@@ -228,7 +228,8 @@ static status_t process_key_exchange(private_tls_server_t *this,
}
if (!this->private ||
!this->private->decrypt(this->private, encrypted, &premaster))
!this->private->decrypt(this->private, ENCRYPT_RSA_PKCS1,
encrypted, &premaster))
{
DBG1(DBG_IKE, "decrypting Client Key Exchange data failed");
return FAILED;