mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
params: clean up TODO
The TODO being reworked to just be a comment. Fixes #14374 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14565)
This commit is contained in:
parent
8f391c7d1b
commit
7128458b8a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user