From 95d8ba55835868f64e2ae1cb79dff4531fb6ba04 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 6 Dec 2024 05:13:35 +0000 Subject: ec_asn1: update a comment to match reality --- src/lib/libcrypto/ec/ec_asn1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/ec/ec_asn1.c b/src/lib/libcrypto/ec/ec_asn1.c index 7d2243db0c..98eec5134a 100644 --- a/src/lib/libcrypto/ec/ec_asn1.c +++ b/src/lib/libcrypto/ec/ec_asn1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_asn1.c,v 1.108 2024/12/06 04:35:03 tb Exp $ */ +/* $OpenBSD: ec_asn1.c,v 1.109 2024/12/06 05:13:35 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -1210,7 +1210,7 @@ ec_key_set_private_key(EC_KEY *ec_key, const ASN1_OCTET_STRING *aos) /* * XXX - Sec 1, C.4 requires that this octet string be padded to the * byte length of the group's order. This can't be enforced because - * i2d_ECPrivateKey() produces a semi-compatible ad hoc format. + * i2d_ECPrivateKey() used to produce a semi-compatible ad hoc format. */ if ((priv_key = BN_bin2bn(aos->data, aos->length, NULL)) == NULL) goto err; -- cgit v1.2.3-55-g6feb