summaryrefslogtreecommitdiff
path: root/xed25519.h
diff options
context:
space:
mode:
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