upstream: ssherr-libcrypto: avoid use of deprecated

ERR_load_crypto_strings()

Follow regress and use unchecked OPENSSL_init_crypto() because
ERR_load_crypto_strings() has been deprecated in OpenSSL 1.1.0.
This call can in principle fail, in which case there's a fallback
to generic error strings.

There is still use of OpenSSL 3.x-deprecated API in here. That's
a problem for someone else to solve.

ok djm

OpenBSD-Commit-ID: 3e9dc94caa83b361775b83a92425e858f8680c05
This commit is contained in:
2026-07-01 09:57:31 +10:00
committed by Damien Miller
parent dcba967d3f
commit aabe6d2549
+1 -1
View File
@@ -1,4 +1,4 @@
/* $OpenBSD: ssherr-libcrypto.c,v 1.1 2026/02/06 23:31:29 dtucker Exp $ */
/* $OpenBSD: ssherr-libcrypto.c,v 1.2 2026/06/30 03:42:53 tb Exp $ */
/*
* Copyright (c) 2026 Darren Tucker
*