diff options
author | tb <> | 2022-11-13 14:03:13 +0000 |
---|---|---|
committer | tb <> | 2022-11-13 14:03:13 +0000 |
commit | 089aa75149cb470a0c42f4bac12272196cd9e60b (patch) | |
tree | 2258dff0224cb34a787106eaebe530931b490fbb /src/lib | |
parent | e4d4e6fd04a759206b1c113e7e5635e33d15e840 (diff) | |
download | openbsd-089aa75149cb470a0c42f4bac12272196cd9e60b.tar.gz openbsd-089aa75149cb470a0c42f4bac12272196cd9e60b.tar.bz2 openbsd-089aa75149cb470a0c42f4bac12272196cd9e60b.zip |
Add ED25519 aliases for NID, SN and OBJ
The Ed25519 versions already existed, but OpenSSL chose to uppercase the D.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/objects/objects.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/objects/objects.h b/src/lib/libcrypto/objects/objects.h index 11c796d0de..7fc11fa594 100644 --- a/src/lib/libcrypto/objects/objects.h +++ b/src/lib/libcrypto/objects/objects.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: objects.h,v 1.20 2022/11/11 11:53:24 jsing Exp $ */ | 1 | /* $OpenBSD: objects.h,v 1.21 2022/11/13 14:03:13 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -61,11 +61,9 @@ | |||
61 | 61 | ||
62 | #include <openssl/obj_mac.h> | 62 | #include <openssl/obj_mac.h> |
63 | 63 | ||
64 | #if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL) | ||
65 | #define SN_ED25519 SN_Ed25519 | 64 | #define SN_ED25519 SN_Ed25519 |
66 | #define NID_ED25519 NID_Ed25519 | 65 | #define NID_ED25519 NID_Ed25519 |
67 | #define OBJ_ED25519 OBJ_Ed25519 | 66 | #define OBJ_ED25519 OBJ_Ed25519 |
68 | #endif | ||
69 | 67 | ||
70 | #include <openssl/bio.h> | 68 | #include <openssl/bio.h> |
71 | #include <openssl/asn1.h> | 69 | #include <openssl/asn1.h> |