From: Simo Sorce Date: Wed, 21 Jan 2026 16:58:13 +0000 (-0500) Subject: Fix style for ECDSA test vector X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efc6a0d1f95cd2f0c43a9a259138dc9c4ec47085;p=thirdparty%2Fopenssl.git Fix style for ECDSA test vector Signed-off-by: Simo Sorce Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/29222) --- diff --git a/providers/fips/self_test_data.inc b/providers/fips/self_test_data.inc index c8c907a613e..26d256e52fc 100644 --- a/providers/fips/self_test_data.inc +++ b/providers/fips/self_test_data.inc @@ -1718,14 +1718,14 @@ static const ST_KAT_PARAM ecdsa_sig_params[] = { ST_KAT_PARAM_END() }; -# ifndef OPENSSL_NO_EC2M +#ifndef OPENSSL_NO_EC2M static const char ecd_bin_curve_name[] = "sect283r1"; static const unsigned char ecd_bin_priv[] = { 0x03, 0x6f, 0x76, 0x1e, 0x13, 0x62, 0xee, 0x8f, 0xd0, 0x86, 0x5e, 0x9c, 0xbc, 0x00, 0x19, 0xbd, 0x11, 0x73, 0xc7, 0xec, 0x46, 0x1f, 0xea, 0x11, 0x97, 0x24, 0x06, 0xfe, 0x63, 0xf5, 0xd6, 0x2d, - 0xa7, 0x67, 0xc3, 0xec, + 0xa7, 0x67, 0xc3, 0xec }; static const unsigned char ecd_bin_pub[] = { 0x04, 0x06, 0x2c, 0xfb, 0xb6, 0xce, 0xcc, 0x78, @@ -1737,7 +1737,7 @@ static const unsigned char ecd_bin_pub[] = { 0x95, 0x22, 0x87, 0xa0, 0x90, 0x1a, 0xd3, 0x7c, 0xd8, 0x37, 0x3e, 0x61, 0x41, 0x3c, 0x8a, 0x7c, 0x8d, 0x9a, 0x14, 0x71, 0xaa, 0xa0, 0xad, 0x4a, - 0xc7, + 0xc7 }; static const unsigned char ecdsa_bin_expected_sig[] = { 0x30, 0x4c, 0x02, 0x24, 0x02, 0xc5, 0x63, 0xe8, @@ -1749,7 +1749,7 @@ static const unsigned char ecdsa_bin_expected_sig[] = { 0xd3, 0xeb, 0x1a, 0xad, 0xb7, 0x08, 0xc3, 0x1e, 0xb8, 0xe3, 0x1c, 0x94, 0x5a, 0xd6, 0x50, 0xb8, 0x77, 0x0b, 0xd7, 0xad, 0x1d, 0x06, 0x64, 0x15, - 0xca, 0x20, 0xae, 0xf3, 0x4d, 0x54, + 0xca, 0x20, 0xae, 0xf3, 0x4d, 0x54 }; static const ST_KAT_PARAM ecdsa_bin_key[] = { ST_KAT_PARAM_UTF8STRING(OSSL_PKEY_PARAM_GROUP_NAME, ecd_bin_curve_name),