summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-03-26 06:58:22 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-03-26 06:58:22 +0000
commit7419b489163ac5705e8b1a2ed0ed35049aa33f88 (patch)
tree2e9c622761493128ae54bbf247cb30486aa5bfc5
parent00aa53e372999a04b9a91132c29611969cccdb03 (diff)
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--lib/libcrypto/evp/e_rc2.c8
1 files changed, 1 insertions, 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;
}