diff options
author | lloyd <[email protected]> | 2006-09-06 19:51:17 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-09-06 19:51:17 +0000 |
commit | 559e2860f0716dc5c40697a08a790d3b7c42ce8e (patch) | |
tree | 358bafd6ffd1609da224fb100cb2f39f3af3af03 /include/elgamal.h | |
parent | e00227828d80f9c9a17ef236586211faa01e4193 (diff) |
Rename instances of X509_PublicKey and PKCS8_PrivateKey
Diffstat (limited to 'include/elgamal.h')
-rw-r--r-- | include/elgamal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/elgamal.h b/include/elgamal.h index f3ba15bba..9fb15b943 100644 --- a/include/elgamal.h +++ b/include/elgamal.h @@ -29,7 +29,7 @@ class ElGamal_PublicKey : public PK_Encrypting_Key, ELG_Core core; private: - friend X509_PublicKey* get_public_key(const std::string&); + friend Public_Key* get_public_key(const std::string&); DL_Group::Format group_format() const { return DL_Group::ANSI_X9_42; } void X509_load_hook(); }; @@ -49,7 +49,7 @@ class ElGamal_PrivateKey : public ElGamal_PublicKey, ElGamal_PrivateKey(const DL_Group&); ElGamal_PrivateKey(const DL_Group&, const BigInt&, const BigInt& = 0); private: - friend PKCS8_PrivateKey* get_private_key(const std::string&); + friend Private_Key* get_private_key(const std::string&); void PKCS8_load_hook(bool = false); ElGamal_PrivateKey() {} }; |