aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPauli <[email protected]>2026-09-04 02:24:56 +0200
committerTomas Mraz <[email protected]>2026-09-07 20:13:22 +0200
commit68b90853eef734f39b3157a5fdf7b1db0a9e268a (patch)
treedf55ad49a441a67625667057eeffe959dd17f939 /include
parentparams: add directive for dealing with duplicated parameters (diff)
downloadopenssl-68b90853eef734f39b3157a5fdf7b1db0a9e268a.tar.gz
openssl-68b90853eef734f39b3157a5fdf7b1db0a9e268a.zip
ec: accept duplicate instances of the point format parameter
The first value is kept. This is done for compatibility with old FIPS providers from <=4.0 branches. They export two point format parameters with different values. Reviewed-by: Viktor Dukhovni <[email protected]> Reviewed-by: Eugene Syromiatnikov <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> Merge-date: Mon Sep 7 18:14:55 2026 Merged-from: https://github.com/openssl/openssl/pull/32675
Diffstat (limited to 'include')
-rw-r--r--include/crypto/ec_params.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/ec_params.h.in b/include/crypto/ec_params.h.in
index 008da964001..700fa8bae8f 100644
--- a/include/crypto/ec_params.h.in
+++ b/include/crypto/ec_params.h.in
@@ -31,7 +31,7 @@ our @EC_ENCODING_TYPES = (
);
our @EC_POINT_FORMAT_TYPES = (
- ['OSSL_PKEY_PARAM_EC_POINT_CONVERSION_FORMAT', 'pt_format', 'utf8_string'],
+ ['OSSL_PKEY_PARAM_EC_POINT_CONVERSION_FORMAT', 'pt_format', 'utf8_string', 'duplicate: first'],
);
our @EC_FIELD_TYPE_TYPES = (