-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cert util: replace deprecated OpenSSL calls
In OpenSSL 3.0 some of the calls we currently use in the utility functions to covert the public key from a X.509 certificate into an ssh public key got deprecated. This patch replaces them if OpenSSL 3.0 or newer is used. In contrast to the older calls which just returned references the new calls return the requested data in freshly allocated memory. To keep it consistent the data referenced by the old calls are copied into allocated memory as well. Resolves: #5861
- Loading branch information
1 parent
0be58a2
commit 56e08e4
Showing
1 changed file
with
162 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters