From 1b815a2be7fd270ea2364e335e4c661b4687f353 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 09:50:47 +0000 Subject: 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 --- src/lib/libcrypto/objects/objects.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: objects.h,v 1.27 2024/03/02 09:49:45 tb Exp $ */ +/* $OpenBSD: objects.h,v 1.28 2024/03/02 09:50:47 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -71,9 +71,7 @@ #define OBJ_NAME_TYPE_UNDEF 0x00 #define OBJ_NAME_TYPE_MD_METH 0x01 #define OBJ_NAME_TYPE_CIPHER_METH 0x02 -#define OBJ_NAME_TYPE_PKEY_METH 0x03 -#define OBJ_NAME_TYPE_COMP_METH 0x04 -#define OBJ_NAME_TYPE_NUM 0x05 +#define OBJ_NAME_TYPE_NUM 0x03 #define OBJ_NAME_ALIAS 0x8000 -- cgit v1.2.3-55-g6feb