Files
ports/packages/linux/patches/0001-openssl-deprecated.patch
2026-11-17 04:09:03 +00:00

46 lines
1.2 KiB
Diff

--- a/scripts/sign-file.c 2026-10-30 12:09:52.000000000 +0000
+++ b/scripts/sign-file.c 2026-11-16 12:19:52.001911278 +0000
@@ -201,9 +201,9 @@
X509 *x509;
BIO *bd, *bm;
int opt, n;
- OpenSSL_add_all_algorithms();
- ERR_load_crypto_strings();
- ERR_clear_error();
+ //OpenSSL_add_all_algorithms();
+ //ERR_load_crypto_strings();
+ //ERR_clear_error();
key_pass = getenv("KBUILD_SIGN_PIN");
--- a/scripts/sign-file.c 2026-11-16 12:21:08.614514667 +0000
+++ b/scripts/sign-file.c 2026-11-16 12:21:45.134000624 +0000
@@ -254,7 +254,7 @@
x509 = read_x509(x509_name);
/* Digest the module data. */
- OpenSSL_add_all_digests();
+ //OpenSSL_add_all_digests();
drain_openssl_errors(__LINE__, 0);
digest_algo = EVP_get_digestbyname(hash_algo);
ERR(!digest_algo, "EVP_get_digestbyname");
--- a/certs/extract-cert.c 2026-11-16 12:39:29.726151104 +0000
+++ b/certs/extract-cert.c 2026-11-16 12:50:19.821752865 +0000
@@ -127,9 +127,9 @@
char *cert_src;
char *verbose_env;
- OpenSSL_add_all_algorithms();
- ERR_load_crypto_strings();
- ERR_clear_error();
+ //OpenSSL_add_all_algorithms();
+ //ERR_load_crypto_strings();
+ //ERR_clear_error();
verbose_env = getenv("KBUILD_VERBOSE");
if (verbose_env && strchr(verbose_env, '1'))