diff options
| author | tb <> | 2024-03-02 09:50:47 +0000 |
|---|---|---|
| committer | tb <> | 2024-03-02 09:50:47 +0000 |
| commit | 1b815a2be7fd270ea2364e335e4c661b4687f353 (patch) | |
| tree | 878589298e18b2492a3709be37a782507dd57deb /src | |
| parent | f21b8514088544717f82e2ae9019b87645d1155f (diff) | |
| download | openbsd-1b815a2be7fd270ea2364e335e4c661b4687f353.tar.gz openbsd-1b815a2be7fd270ea2364e335e4c661b4687f353.tar.bz2 openbsd-1b815a2be7fd270ea2364e335e4c661b4687f353.zip | |
Remove no longer supported OBJ_NAME_TYPEs
OBJ_NAME_TYPE_PKEY_METH and OBJ_NAME_TYPE_COMP_METH were never used
as far as I can tell. Unfortunately, PHP and Python still use the
weirdly named OBJ_NAME_do_all*() API to list available ciphers and
digests, so the MD and CIPHER variants need to remain public.
ok jsing
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/objects/objects.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/objects/objects.h b/src/lib/libcrypto/objects/objects.h index ab0c402383..2804e6fe1c 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.27 2024/03/02 09:49:45 tb Exp $ */ | 1 | /* $OpenBSD: objects.h,v 1.28 2024/03/02 09:50:47 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 | * |
| @@ -71,9 +71,7 @@ | |||
| 71 | #define OBJ_NAME_TYPE_UNDEF 0x00 | 71 | #define OBJ_NAME_TYPE_UNDEF 0x00 |
| 72 | #define OBJ_NAME_TYPE_MD_METH 0x01 | 72 | #define OBJ_NAME_TYPE_MD_METH 0x01 |
| 73 | #define OBJ_NAME_TYPE_CIPHER_METH 0x02 | 73 | #define OBJ_NAME_TYPE_CIPHER_METH 0x02 |
| 74 | #define OBJ_NAME_TYPE_PKEY_METH 0x03 | 74 | #define OBJ_NAME_TYPE_NUM 0x03 |
| 75 | #define OBJ_NAME_TYPE_COMP_METH 0x04 | ||
| 76 | #define OBJ_NAME_TYPE_NUM 0x05 | ||
| 77 | 75 | ||
| 78 | #define OBJ_NAME_ALIAS 0x8000 | 76 | #define OBJ_NAME_ALIAS 0x8000 |
| 79 | 77 | ||
