]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: ssherr-libcrypto: avoid use of deprecated
authortb@openbsd.org <tb@openbsd.org>
Tue, 30 Jun 2026 03:42:53 +0000 (03:42 +0000)
committerDamien Miller <djm@mindrot.org>
Tue, 30 Jun 2026 23:57:31 +0000 (09:57 +1000)
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

ssherr-libcrypto.c

index c825e1a663866d558284d58456246ee0c082506f..8f84183f46eb2fb432d32dbeba04215b3640e07a 100644 (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
  *