summaryrefslogtreecommitdiff
path: root/asn.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-18 02:34:33 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-18 02:34:33 +0000
commit43b41c1042164bc5194f3f61a2ca131ea9014b4a (patch)
tree9732b0bb2e34535743af1bc3680de2ea8d013710 /asn.cpp
parent54a2acd0aab8ab74ae2c9b88805d259398a1b17e (diff)
downloadcryptopp-git-43b41c1042164bc5194f3f61a2ca131ea9014b4a.tar.gz
update version number, port to Sun C++ 5.8
Diffstat (limited to 'asn.cpp')
-rw-r--r--asn.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/asn.cpp b/asn.cpp
index 9ba73248..91bae2fd 100644
--- a/asn.cpp
+++ b/asn.cpp
@@ -520,7 +520,7 @@ void X509PublicKey::BERDecode(BufferedTransformation &bt)
BERGeneralDecoder subjectPublicKey(subjectPublicKeyInfo, BIT_STRING);
subjectPublicKey.CheckByte(0); // unused bits
- BERDecodeKey2(subjectPublicKey, parametersPresent, (size_t)subjectPublicKey.RemainingLength());
+ BERDecodePublicKey(subjectPublicKey, parametersPresent, (size_t)subjectPublicKey.RemainingLength());
subjectPublicKey.MessageEnd();
subjectPublicKeyInfo.MessageEnd();
}
@@ -536,7 +536,7 @@ void X509PublicKey::DEREncode(BufferedTransformation &bt) const
DERGeneralEncoder subjectPublicKey(subjectPublicKeyInfo, BIT_STRING);
subjectPublicKey.Put(0); // unused bits
- DEREncodeKey(subjectPublicKey);
+ DEREncodePublicKey(subjectPublicKey);
subjectPublicKey.MessageEnd();
subjectPublicKeyInfo.MessageEnd();
@@ -554,7 +554,7 @@ void PKCS8PrivateKey::BERDecode(BufferedTransformation &bt)
algorithm.MessageEnd();
BERGeneralDecoder octetString(privateKeyInfo, OCTET_STRING);
- BERDecodeKey2(octetString, parametersPresent, (size_t)privateKeyInfo.RemainingLength());
+ BERDecodePrivateKey(octetString, parametersPresent, (size_t)privateKeyInfo.RemainingLength());
octetString.MessageEnd();
if (!privateKeyInfo.EndReached())
@@ -573,7 +573,7 @@ void PKCS8PrivateKey::DEREncode(BufferedTransformation &bt) const
algorithm.MessageEnd();
DERGeneralEncoder octetString(privateKeyInfo, OCTET_STRING);
- DEREncodeKey(octetString);
+ DEREncodePrivateKey(octetString);
octetString.MessageEnd();
DEREncodeOptionalAttributes(privateKeyInfo);