aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-11 21:08:48 +0000
committerlloyd <[email protected]>2010-06-11 21:08:48 +0000
commite39f418029a82d6f987919bda53334bbe215b61e (patch)
tree5f21a836f70b2f7582da12c5ce5e706dd36d44d2
parentd82e7ef1c92873819db63968cebdf0f488c99d40 (diff)
Add typedefs for the named EME encryptor/decryptor classes so code
using the 1.8 names continues to work.
-rw-r--r--src/pubkey/pubkey.h6
1 files changed, 6 insertions, 0 deletions
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