summaryrefslogtreecommitdiff
path: root/xed25519.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-12-17 02:31:31 -0500
committerJeffrey Walton <noloader@gmail.com>2020-12-17 02:31:31 -0500
commit1b4b67952ca79d2faec80e2a285fe415ad2f643f (patch)
tree7e534e12783d248fdc8c548f7a358568627f1080 /xed25519.h
parentbb29b5e10ee2b4ba2527e7b468800f023ea3d542 (diff)
downloadcryptopp-git-1b4b67952ca79d2faec80e2a285fe415ad2f643f.tar.gz
Use DEREncode for x25519 keys
Diffstat (limited to 'xed25519.h')
-rw-r--r--xed25519.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xed25519.h b/xed25519.h
index 6063d091..c0d75f96 100644
--- a/xed25519.h
+++ b/xed25519.h
@@ -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