diff options
| author | tb <> | 2024-03-26 06:58:21 +0000 |
|---|---|---|
| committer | tb <> | 2024-03-26 06:58:21 +0000 |
| commit | 0883c677480ca7b955a51c5ed02af113a7aeadd5 (patch) | |
| tree | 83f9a4f040cf5f34834239afb238d0d4d062957f /src | |
| parent | dc19254bba9691a14e341178cfedf8a552c9b1d7 (diff) | |
| download | openbsd-0883c677480ca7b955a51c5ed02af113a7aeadd5.tar.gz openbsd-0883c677480ca7b955a51c5ed02af113a7aeadd5.tar.bz2 openbsd-0883c677480ca7b955a51c5ed02af113a7aeadd5.zip | |
Unifdef PBE_PRF_TEST
This gets use of the last mention of EVP_CTRL_PBE_PRF_NID outside of evp.h
ok jsing
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/evp/e_rc2.c | 8 |
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 | } |
