bind9/lib/isc/ossl_wrap
Aydın Mercan 48a77a4bfc don't set named curves explicitly in pre-3.0 libcrypto
The function `EC_KEY_set_asn1_flag` is deprecated in AWS-LC. Fortunately
calling it to make sure we use named curve keys is entirely unnecessary.

More information for pre-3.0 libcrypto and significant forks are as
following:

OpenSSL: Named curves were the default between 1.1.0 and 3.6.1 [1],[2]
AWS-LC: Library only supports named curves in the first place [3]
BoringSSL: Likewise with AWS-LC [4]
LibreSSL: `EC_GROUP`s are named by default [5]

[1] 86f300d385
[2] 9db6af922c
[3] a605df416b/include/openssl/ec_key.h (L442-L445)
[4] 514abb73bb/include/openssl/ec_key.h (L279-L280)
[5] c933874518/src/lib/libcrypto/ec/ec_lib.c (L94)
2026-04-28 09:28:18 +03:00
..
meson.build add openssl_wrap 2026-02-02 11:50:14 +03:00
ossl1_1.c don't set named curves explicitly in pre-3.0 libcrypto 2026-04-28 09:28:18 +03:00
ossl3.c make generate_pkcs11_ec_key consistent with others 2026-02-02 11:50:14 +03:00
ossl_common.c remove libcrypto version specific code in opensslrsa_link 2026-02-02 11:50:14 +03:00