[openssl/openssl] 4ef7e3: apps: test ec and ecparam -text options

0 views
Skip to first unread message

Jakub Zelenka

unread,
Jul 17, 2026, 4:51:39 AM (3 days ago) Jul 17
to openssl...@openssl.org
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 4ef7e3b3cdc483cebb55b240770a2ee6e705b8db
https://github.com/openssl/openssl/commit/4ef7e3b3cdc483cebb55b240770a2ee6e705b8db
Author: Jakub Zelenka <jakub....@openssl.foundation>
Date: 2026-07-17 (Fri, 17 Jul 2026)

Changed paths:
M test/recipes/15-test_ec.t
M test/recipes/15-test_ecparam.t

Log Message:
-----------
apps: test ec and ecparam -text options

The -text option was not exercised for the ec or ecparam apps. Add a
subtest to 15-test_ec.t that prints a private and a public EC key and,
after stripping the colon-separated hex formatting, verifies the printed
private and public values match the committed testec-p256.pem keypair as
well as the curve identification. Add a subtest to 15-test_ecparam.t
that prints named and explicit parameters, checking the named form emits
the expected curve OID and NIST name while the explicit form emits the
field parameters and no OID.

Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Nikola Pajkovsky <nik...@openssl.org>
Reviewed-by: Daniel Kubec <ku...@openssl.foundation>
Reviewed-by: Tim Hudson <t...@openssl.org>
MergeDate: Fri Jul 17 08:47:12 2026
(Merged from https://github.com/openssl/openssl/pull/31952)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages