mirror of
https://github.com/openbsd/src.git
synced 2026-04-26 07:05:54 +00:00
rpki-client: remove legacy libcrypto initialization
These were never needed since rpki-client only ever targeted LibreSSL and OpenSSL versions with "automatic library initialization". We do not use the ugly libcrypto error strings any longer and we never looked up ciphers and digests by name anyway. "Go for it" claudio
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: filemode.c,v 1.70 2025/10/17 08:09:21 job Exp $ */
|
||||
/* $OpenBSD: filemode.c,v 1.71 2025/10/23 05:16:55 tb Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org>
|
||||
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
|
||||
@@ -806,9 +806,6 @@ proc_filemode(int fd)
|
||||
if (pledge("stdio rpath", NULL) == -1)
|
||||
err(1, "pledge");
|
||||
|
||||
ERR_load_crypto_strings();
|
||||
OpenSSL_add_all_ciphers();
|
||||
OpenSSL_add_all_digests();
|
||||
constraints_parse();
|
||||
|
||||
if ((ctx = X509_STORE_CTX_new()) == NULL)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: parser.c,v 1.171 2025/10/17 08:09:21 job Exp $ */
|
||||
/* $OpenBSD: parser.c,v 1.172 2025/10/23 05:16:55 tb Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org>
|
||||
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
|
||||
@@ -1246,9 +1246,6 @@ proc_parser(int fd, int nthreads)
|
||||
if (pledge("stdio rpath", NULL) == -1)
|
||||
err(1, "pledge");
|
||||
|
||||
ERR_load_crypto_strings();
|
||||
OpenSSL_add_all_ciphers();
|
||||
OpenSSL_add_all_digests();
|
||||
constraints_parse();
|
||||
|
||||
if ((globalmsgq = ibufq_new()) == NULL)
|
||||
|
||||
Reference in New Issue
Block a user