summaryrefslogtreecommitdiff
path: root/elgamal.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-08-24 06:44:14 -0400
committerJeffrey Walton <noloader@gmail.com>2019-08-24 06:44:14 -0400
commit3d96234038b5e2476766a41ef89ed6c2296a1b74 (patch)
tree7ab0e153e04fd23465c15f7e2d745171d91fb8c0 /elgamal.h
parent29e3818fd2228440371ba643965e800dcf616485 (diff)
downloadcryptopp-git-3d96234038b5e2476766a41ef89ed6c2296a1b74.tar.gz
Fix typedef for MSVC (GH #876)
Diffstat (limited to 'elgamal.h')
-rw-r--r--elgamal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/elgamal.h b/elgamal.h
index 599c13f8..b5d7523e 100644
--- a/elgamal.h
+++ b/elgamal.h
@@ -11,8 +11,8 @@
#include "integer.h"
#include "gfpcrypt.h"
#include "pubkey.h"
-#include "dsa.h"
#include "misc.h"
+#include "dsa.h"
NAMESPACE_BEGIN(CryptoPP)
@@ -131,8 +131,8 @@ struct ElGamalKeys
struct ElGamal
{
typedef DL_CryptoSchemeOptions<ElGamal, ElGamalKeys, int, int, int> SchemeOptions;
- typedef typename SchemeOptions::PrivateKey PrivateKey;
- typedef typename SchemeOptions::PublicKey PublicKey;
+ typedef SchemeOptions::PrivateKey PrivateKey;
+ typedef SchemeOptions::PublicKey PublicKey;
CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "ElgamalEnc/Crypto++Padding";}