From: tb Date: Wed, 18 Oct 2023 17:26:06 +0000 (+0000) Subject: Remove EVP_add_alg_module() prototype X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5e9af9078020584d0b66e51e331ac8bba4c31b4c;p=openbsd Remove EVP_add_alg_module() prototype This function was the unfortunate protagonist in a series of tragic merge errors resulting in only a short stint of a year and nine months between OpenSSL 0.9.8j and 1.0.0a actually present in OpenBSD. Then it said good bye for good, but somehow a prototype came back with 1.0.1g, a famous version released when there were slightly more pressing things to be taken care of than a function supporting a config knob whose only purpose was to turn off fips mode or to error. from schwarze PS: The mechanism that it was supposed to provide is still documented in openssl.cnf(5). I am going remove the relevant bit at some point, but not today. --- diff --git a/lib/libcrypto/evp/evp.h b/lib/libcrypto/evp/evp.h index 381098b96b8..bbc9c3540e4 100644 --- a/lib/libcrypto/evp/evp.h +++ b/lib/libcrypto/evp/evp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: evp.h,v 1.119 2023/08/25 12:37:33 schwarze Exp $ */ +/* $OpenBSD: evp.h,v 1.120 2023/10/18 17:26:06 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1325,8 +1325,6 @@ int EVP_AEAD_CTX_open(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len); -void EVP_add_alg_module(void); - void ERR_load_EVP_strings(void); /* Error codes for the EVP functions. */