aboutsummaryrefslogtreecommitdiffstats
path: root/include/dh.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-09-06 19:51:17 +0000
committerlloyd <[email protected]>2006-09-06 19:51:17 +0000
commit559e2860f0716dc5c40697a08a790d3b7c42ce8e (patch)
tree358bafd6ffd1609da224fb100cb2f39f3af3af03 /include/dh.h
parente00227828d80f9c9a17ef236586211faa01e4193 (diff)
Rename instances of X509_PublicKey and PKCS8_PrivateKey
Diffstat (limited to 'include/dh.h')
-rw-r--r--include/dh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dh.h b/include/dh.h
index 3bf2f1c24..6ef519506 100644
--- a/include/dh.h
+++ b/include/dh.h
@@ -25,7 +25,7 @@ class DH_PublicKey : public virtual DL_Scheme_PublicKey
std::string algo_name() const { return "DH"; }
DH_PublicKey() {}
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();
};
@@ -47,7 +47,7 @@ class DH_PrivateKey : public DH_PublicKey,
DH_PrivateKey(const DL_Group&);
DH_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);
DH_PrivateKey() {}