From 484211ab5b378b5e5e63dbed8c38e8e9f6ef2d84 Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 26 Mar 2024 06:58:21 +0000 Subject: Unifdef PBE_PRF_TEST This gets use of the last mention of EVP_CTRL_PBE_PRF_NID outside of evp.h ok jsing --- src/lib/libcrypto/evp/e_rc2.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/evp/e_rc2.c b/src/lib/libcrypto/evp/e_rc2.c index 0a19551109..25caef6e3a 100644 --- a/src/lib/libcrypto/evp/e_rc2.c +++ b/src/lib/libcrypto/evp/e_rc2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: e_rc2.c,v 1.27 2024/01/07 15:42:57 tb Exp $ */ +/* $OpenBSD: e_rc2.c,v 1.28 2024/03/26 06:58:21 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -397,12 +397,6 @@ rc2_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) } return 0; -#ifdef PBE_PRF_TEST - case EVP_CTRL_PBE_PRF_NID: - *(int *)ptr = NID_hmacWithMD5; - return 1; -#endif - default: return -1; } -- cgit v1.2.3-55-g6feb