summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-03-26 06:58:21 +0000
committertb <>2024-03-26 06:58:21 +0000
commit484211ab5b378b5e5e63dbed8c38e8e9f6ef2d84 (patch)
tree83f9a4f040cf5f34834239afb238d0d4d062957f
parenta2135d00d6e93e4eee702eaba3d6702e8638fd4e (diff)
downloadopenbsd-484211ab5b378b5e5e63dbed8c38e8e9f6ef2d84.tar.gz
openbsd-484211ab5b378b5e5e63dbed8c38e8e9f6ef2d84.tar.bz2
openbsd-484211ab5b378b5e5e63dbed8c38e8e9f6ef2d84.zip
Unifdef PBE_PRF_TEST
This gets use of the last mention of EVP_CTRL_PBE_PRF_NID outside of evp.h ok jsing
-rw-r--r--src/lib/libcrypto/evp/e_rc2.c8
1 files changed, 1 insertions, 7 deletions
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 @@
1/* $OpenBSD: e_rc2.c,v 1.27 2024/01/07 15:42:57 tb Exp $ */ 1/* $OpenBSD: e_rc2.c,v 1.28 2024/03/26 06:58:21 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 *
@@ -397,12 +397,6 @@ rc2_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr)
397 } 397 }
398 return 0; 398 return 0;
399 399
400#ifdef PBE_PRF_TEST
401 case EVP_CTRL_PBE_PRF_NID:
402 *(int *)ptr = NID_hmacWithMD5;
403 return 1;
404#endif
405
406 default: 400 default:
407 return -1; 401 return -1;
408 } 402 }