From 868c7f7d9c306e6e15d24f2b32e529aa1956516e Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 8 Mar 2010 15:45:43 +0000 Subject: Rename PK_Encryptor_MR_with_EME and PK_Decryptor_MR_with_EME to PK_Encryptor_EME and PK_Decryptor_EME; the message recovery is somewhat implicit in the recovery of the plaintext. --- src/ssl/c_kex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ssl') diff --git a/src/ssl/c_kex.cpp b/src/ssl/c_kex.cpp index 7140bf35c..9e59beefc 100644 --- a/src/ssl/c_kex.cpp +++ b/src/ssl/c_kex.cpp @@ -44,7 +44,7 @@ Client_Key_Exchange::Client_Key_Exchange(RandomNumberGenerator& rng, pre_master[0] = (pref_version >> 8) & 0xFF; pre_master[1] = (pref_version ) & 0xFF; - PK_Encryptor_MR_with_EME encryptor(*rsa_pub, "PKCS1v15"); + PK_Encryptor_EME encryptor(*rsa_pub, "PKCS1v15"); key_material = encryptor.encrypt(pre_master, rng); @@ -138,7 +138,7 @@ Client_Key_Exchange::pre_master_secret(RandomNumberGenerator& rng, } else if(const RSA_PrivateKey* rsa_priv = dynamic_cast(priv_key)) { - PK_Decryptor_MR_with_EME decryptor(*rsa_priv, "PKCS1v15"); + PK_Decryptor_EME decryptor(*rsa_priv, "PKCS1v15"); try { pre_master = decryptor.decrypt(key_material); -- cgit v1.2.3