From 1b3cffc1aeec8de11c2bc784e69ce28342db49db Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 26 Mar 2024 05:39:47 +0000 Subject: PKCS5_pbe2_set_iv() can be local to p5_pbev2 quoth the muppet "yes I know this is horrible!" --- src/lib/libcrypto/asn1/p5_pbev2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib/libcrypto/asn1') diff --git a/src/lib/libcrypto/asn1/p5_pbev2.c b/src/lib/libcrypto/asn1/p5_pbev2.c index ebb20c296f..bed85fca7f 100644 --- a/src/lib/libcrypto/asn1/p5_pbev2.c +++ b/src/lib/libcrypto/asn1/p5_pbev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: p5_pbev2.c,v 1.32 2024/03/02 10:17:37 tb Exp $ */ +/* $OpenBSD: p5_pbev2.c,v 1.33 2024/03/26 05:39:47 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999-2004. */ @@ -65,7 +65,6 @@ #include #include "evp_local.h" -#include "x509_local.h" /* PKCS#5 v2.0 password based encryption structures */ @@ -183,7 +182,7 @@ PBKDF2PARAM_free(PBKDF2PARAM *a) * Extended version to allow application supplied PRF NID and IV. */ -X509_ALGOR * +static X509_ALGOR * PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter, unsigned char *salt, int saltlen, unsigned char *aiv, int prf_nid) { -- cgit v1.2.3-55-g6feb