Commit 2d978786f3 for openssl.org
commit 2d978786f3e97a2701d5f62c26a4baab4a224e69
Author: Chris <cryptophoto@gmail.com>
Date: Sat Jun 28 20:49:11 2025 +1000
Remove accidentally left debug statements from ec.c
CLA: trivial
- Cleaned up hardcoded debug statements that were inadvertently
left in the open source distribution
- No functional changes to the EC key processing logic
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27921)
diff --git a/apps/ec.c b/apps/ec.c
index 677876ccc9..1df769fdf5 100644
--- a/apps/ec.c
+++ b/apps/ec.c
@@ -170,8 +170,6 @@ int ec_main(int argc, char **argv)
goto end;
}
- BIO_printf(bio_err, "read EC key\n");
-
if (pubin)
eckey = load_pubkey(infile, informat, 1, passin, e, "public key");
else
@@ -240,7 +238,6 @@ int ec_main(int argc, char **argv)
const char *output_type = outformat == FORMAT_ASN1 ? "DER" : "PEM";
const char *output_structure = "type-specific";
- BIO_printf(bio_err, "writing EC key\n");
if (param_out) {
selection = OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS;
} else if (pubin || pubout) {