Fixes #27831: Decreased NAMEMAP_HT_BUCKETS to 512.
Decreased the NAMEMAP_HT_BUCKETS value to 512, to avoid memory allocation fail issues. CLA: Trivial Signed-off-by: Kanagavel S <kanagavels@ami.com> Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/27850)
This commit is contained in:
parent
de5a619aa0
commit
b3161bd9a9
@ -13,7 +13,7 @@
|
|||||||
#include "internal/sizes.h"
|
#include "internal/sizes.h"
|
||||||
#include "crypto/context.h"
|
#include "crypto/context.h"
|
||||||
|
|
||||||
#define NAMEMAP_HT_BUCKETS 2048
|
#define NAMEMAP_HT_BUCKETS 512
|
||||||
|
|
||||||
HT_START_KEY_DEFN(namenum_key)
|
HT_START_KEY_DEFN(namenum_key)
|
||||||
HT_DEF_KEY_FIELD_CHAR_ARRAY(name, 64)
|
HT_DEF_KEY_FIELD_CHAR_ARRAY(name, 64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user