From 3d96234038b5e2476766a41ef89ed6c2296a1b74 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 24 Aug 2019 06:44:14 -0400 Subject: Fix typedef for MSVC (GH #876) --- elgamal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'elgamal.h') 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 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";} -- cgit v1.2.1