mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
core_namemap.c: 2048 hashtable buckets should be sufficient
It is unlikely we would need more than 4000 names and even with more names (up to 8192) it would still work, just the performance fo the namemap would degrade. Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/openssl/openssl/pull/24504)
This commit is contained in:
parent
9f7489835d
commit
f0b1d4d1b0
@ -13,7 +13,7 @@
|
||||
#include "internal/sizes.h"
|
||||
#include "crypto/context.h"
|
||||
|
||||
#define NAMEMAP_HT_BUCKETS 4096
|
||||
#define NAMEMAP_HT_BUCKETS 2048
|
||||
|
||||
HT_START_KEY_DEFN(namenum_key)
|
||||
HT_DEF_KEY_FIELD_CHAR_ARRAY(name, 64)
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit e77927ec1b3b3633d6fd2d905df6fdc59810c9e0
|
||||
Subproject commit 9f7667061314ecf9a287ce1c9702073ca1e345e3
|
Loading…
Reference in New Issue
Block a user