forked from krb5/krb5
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit f745c9a uses ECDSA_SIG_set0(), which was added in OpenSSL 1.1. Add a compatibility version for OpenSSL 1.0. Commit bdcd607 uses EVP_PKEY_get_base_id(), which was added in OpenSSL 1.1. Add a compatibility macro to use the old name for OpenSSL 1.0. Commit 0f870b1 added ECDH support, but did not change the OpenSSL 1.0 versions of encode_spki(), decode_spki(), or generate_dh_pkey() to work with elliptic curve public keys. In each function, check the key type and skip the DH-specific handling for key types other than DH.
- Loading branch information
1 parent
458afb6
commit 28b1bea
Showing
1 changed file
with
30 additions
and
1 deletion.
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