diff options
| author | tb <> | 2024-03-02 09:50:47 +0000 |
|---|---|---|
| committer | tb <> | 2024-03-02 09:50:47 +0000 |
| commit | 328a8b94e02107beca6feae33daca3da2ecf6710 (patch) | |
| tree | 878589298e18b2492a3709be37a782507dd57deb /src | |
| parent | c2a8b27418d4c367c3ff2673c6d47caada8c4b1a (diff) | |
| download | openbsd-328a8b94e02107beca6feae33daca3da2ecf6710.tar.gz openbsd-328a8b94e02107beca6feae33daca3da2ecf6710.tar.bz2 openbsd-328a8b94e02107beca6feae33daca3da2ecf6710.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 | ||
