diff options
Diffstat (limited to 'crypto/params_from_text.c')
-rw-r--r-- | crypto/params_from_text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/params_from_text.c b/crypto/params_from_text.c index 3ff94c7475..bf3ca61641 100644 --- a/crypto/params_from_text.c +++ b/crypto/params_from_text.c @@ -75,8 +75,8 @@ static int prepare_from_text(const OSSL_PARAM *paramdefs, const char *key, *buf_n = (buf_bits + 7) / 8; /* - * TODO(v3.0) is this the right way to do this? This code expects - * a zero data size to simply mean "arbitrary size". + * A zero data size means "arbitrary size", so only do the + * range checking if a size is specified. */ if (p->data_size > 0) { if (buf_bits > p->data_size * 8 |