diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-12-17 02:31:31 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-12-17 02:31:31 -0500 |
commit | 1b4b67952ca79d2faec80e2a285fe415ad2f643f (patch) | |
tree | 7e534e12783d248fdc8c548f7a358568627f1080 /xed25519.h | |
parent | bb29b5e10ee2b4ba2527e7b468800f023ea3d542 (diff) | |
download | cryptopp-git-1b4b67952ca79d2faec80e2a285fe415ad2f643f.tar.gz |
Use DEREncode for x25519 keys
Diffstat (limited to 'xed25519.h')
-rw-r--r-- | xed25519.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -643,7 +643,7 @@ struct ed25519PublicKey : public X509PublicKey /// The old format provides the best interop, and keys will work
/// with OpenSSL.
void Save(BufferedTransformation &bt) const {
- BEREncode(bt);
+ DEREncode(bt);
}
/// \brief BER decode ASN.1 object
|