aboutsummaryrefslogtreecommitdiffstats
path: root/include/nr.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/nr.h
parente00227828d80f9c9a17ef236586211faa01e4193 (diff)
Rename instances of X509_PublicKey and PKCS8_PrivateKey
Diffstat (limited to 'include/nr.h')
-rw-r--r--include/nr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nr.h b/include/nr.h
index a48985ff6..a71d29f9f 100644
--- a/include/nr.h
+++ b/include/nr.h
@@ -28,7 +28,7 @@ class NR_PublicKey : public PK_Verifying_with_MR_Key,
NR_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_57; }
u32bit message_parts() const { return 2; }
u32bit message_part_size() const;
@@ -50,7 +50,7 @@ class NR_PrivateKey : public NR_PublicKey,
NR_PrivateKey(const DL_Group&);
NR_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);
NR_PrivateKey() {}
};