From 863dc72578052f2e3cd225f409bd488edf972b42 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 27 Jan 2024 16:26:25 +0000 Subject: [PATCH] Throw PKCS5_PBE_add() into the trash bin at the end of evp_pbe.c This has been a noop since forever and will be removed in the next bump. --- lib/libcrypto/evp/evp_pbe.c | 7 ++++++- lib/libcrypto/evp/p5_crpt.c | 10 +--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/lib/libcrypto/evp/evp_pbe.c b/lib/libcrypto/evp/evp_pbe.c index 422fb356bad..7f7784847b5 100644 --- a/lib/libcrypto/evp/evp_pbe.c +++ b/lib/libcrypto/evp/evp_pbe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: evp_pbe.c,v 1.37 2024/01/27 16:22:29 tb Exp $ */ +/* $OpenBSD: evp_pbe.c,v 1.38 2024/01/27 16:26:25 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -365,3 +365,8 @@ void EVP_PBE_cleanup(void) { } + +void +PKCS5_PBE_add(void) +{ +} diff --git a/lib/libcrypto/evp/p5_crpt.c b/lib/libcrypto/evp/p5_crpt.c index d26439ad260..15b9935ac17 100644 --- a/lib/libcrypto/evp/p5_crpt.c +++ b/lib/libcrypto/evp/p5_crpt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: p5_crpt.c,v 1.23 2023/07/07 19:37:54 beck Exp $ */ +/* $OpenBSD: p5_crpt.c,v 1.24 2024/01/27 16:26:25 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -66,14 +66,6 @@ #include "evp_local.h" -/* Doesn't do anything now: Builtin PBE algorithms in static table. - */ - -void -PKCS5_PBE_add(void) -{ -} - int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de) -- 2.20.1