diff options
author | slontis <shane.lontis@oracle.com> | 2024-03-04 03:08:08 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2024-03-11 12:34:25 +0100 |
commit | d60b37506da65f3aebc5043984b3ec78fd53f75f (patch) | |
tree | ce52cc280c0364565853767cf3e2af69e5f3ac74 /test/build.info | |
parent | Bring SSL_group_to_name docs in line with API definition (diff) | |
download | openssl-d60b37506da65f3aebc5043984b3ec78fd53f75f.tar.xz openssl-d60b37506da65f3aebc5043984b3ec78fd53f75f.zip |
Fix BIO_get_new_index() to return an error when it is exhausted.
Fixes #23655
BIO_get_new_index() returns a range of 129..255.
It is set to BIO_TYPE_START (128) initially and is incremented on each
call.
>= 256 is reserved for the class type flags (BIO_TYPE_DESCRIPTOR) so it
should error if it reaches the upper bound.
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23732)
Diffstat (limited to 'test/build.info')
-rw-r--r-- | test/build.info | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/build.info b/test/build.info index 10df828764..969e81c2cc 100644 --- a/test/build.info +++ b/test/build.info @@ -63,7 +63,7 @@ IF[{- !$disabled{tests} -}] provfetchtest prov_config_test rand_test \ ca_internals_test bio_tfo_test membio_test bio_dgram_test list_test \ fips_version_test x509_test hpke_test pairwise_fail_test \ - nodefltctxtest evp_xof_test x509_load_cert_file_test + nodefltctxtest evp_xof_test x509_load_cert_file_test bio_meth_test IF[{- !$disabled{'rpk'} -}] PROGRAMS{noinst}=rpktest @@ -489,6 +489,10 @@ IF[{- !$disabled{tests} -}] INCLUDE[bio_memleak_test]=../include ../apps/include DEPEND[bio_memleak_test]=../libcrypto libtestutil.a + SOURCE[bio_meth_test]=bio_meth_test.c + INCLUDE[bio_meth_test]=../include ../apps/include + DEPEND[bio_meth_test]=../libcrypto libtestutil.a + SOURCE[bioprinttest]=bioprinttest.c INCLUDE[bioprinttest]=../include ../apps/include DEPEND[bioprinttest]=../libcrypto libtestutil.a |