From d89181752960c2ba81ef965abc81a2b2df29de21 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 26 Mar 2024 06:58:21 +0000 Subject: [PATCH] Unifdef PBE_PRF_TEST This gets use of the last mention of EVP_CTRL_PBE_PRF_NID outside of evp.h ok jsing --- lib/libcrypto/evp/e_rc2.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/libcrypto/evp/e_rc2.c b/lib/libcrypto/evp/e_rc2.c index 0a19551109a..25caef6e3ae 100644 --- a/lib/libcrypto/evp/e_rc2.c +++ b/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; } -- 2.20.1