Fix typedef for MSVC (GH #876)
parent
29e3818fd2
commit
3d96234038
|
|
@ -11,8 +11,8 @@
|
||||||
#include "integer.h"
|
#include "integer.h"
|
||||||
#include "gfpcrypt.h"
|
#include "gfpcrypt.h"
|
||||||
#include "pubkey.h"
|
#include "pubkey.h"
|
||||||
#include "dsa.h"
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
#include "dsa.h"
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
||||||
|
|
@ -131,8 +131,8 @@ struct ElGamalKeys
|
||||||
struct ElGamal
|
struct ElGamal
|
||||||
{
|
{
|
||||||
typedef DL_CryptoSchemeOptions<ElGamal, ElGamalKeys, int, int, int> SchemeOptions;
|
typedef DL_CryptoSchemeOptions<ElGamal, ElGamalKeys, int, int, int> SchemeOptions;
|
||||||
typedef typename SchemeOptions::PrivateKey PrivateKey;
|
typedef SchemeOptions::PrivateKey PrivateKey;
|
||||||
typedef typename SchemeOptions::PublicKey PublicKey;
|
typedef SchemeOptions::PublicKey PublicKey;
|
||||||
|
|
||||||
CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "ElgamalEnc/Crypto++Padding";}
|
CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "ElgamalEnc/Crypto++Padding";}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue