From e39f418029a82d6f987919bda53334bbe215b61e Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 11 Jun 2010 21:08:48 +0000 Subject: Add typedefs for the named EME encryptor/decryptor classes so code using the 1.8 names continues to work. --- src/pubkey/pubkey.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pubkey/pubkey.h b/src/pubkey/pubkey.h index eeb4d5841..d94b3e2e4 100644 --- a/src/pubkey/pubkey.h +++ b/src/pubkey/pubkey.h @@ -438,6 +438,12 @@ class BOTAN_DLL PK_Decryptor_EME : public PK_Decryptor const EME* eme; }; +/* +* Typedefs for compatability with 1.8 +*/ +typedef PK_Encryptor_EME PK_Encryptor_MR_with_EME; +typedef PK_Decryptor_EME PK_Decryptor_MR_with_EME; + } #endif -- cgit v1.2.3