summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-11-13 14:03:14 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-11-13 14:03:14 +0000
commit28c3c02d84ca9263ff684d79208d039d1ce55d96 (patch)
tree83268d090613707dc2e8f906cd0fe01f35c14290
parent3cac420be0d26aa05eb9514a028eab40c769e962 (diff)
Add ED25519 aliases for NID, SN and OBJ
The Ed25519 versions already existed, but OpenSSL chose to uppercase the D.
-rw-r--r--lib/libcrypto/objects/objects.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/objects/objects.h b/lib/libcrypto/objects/objects.h
index 11c796d0de3..7fc11fa594f 100644
--- a/lib/libcrypto/objects/objects.h
+++ b/lib/libcrypto/objects/objects.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: objects.h,v 1.20 2022/11/11 11:53:24 jsing Exp $ */
+/* $OpenBSD: objects.h,v 1.21 2022/11/13 14:03:13 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -61,11 +61,9 @@
#include <openssl/obj_mac.h>
-#if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
#define SN_ED25519 SN_Ed25519
#define NID_ED25519 NID_Ed25519
#define OBJ_ED25519 OBJ_Ed25519
-#endif
#include <openssl/bio.h>
#include <openssl/asn1.h>