]> git.ipfire.org Git - thirdparty/openssl.git/commit
property: use a stack to efficiently convert index to string
authorPauli <pauli@openssl.org>
Tue, 21 Dec 2021 00:44:31 +0000 (11:44 +1100)
committerPauli <ppzgs1@gmail.com>
Sat, 1 Jan 2022 01:23:38 +0000 (12:23 +1100)
commit2e3c59356f847a76a90f9f837d4983428df6eb19
tree8527dd71de9188e1043a606c3a02e3f634f5c6e1
parent805bdac5f37bb820658f70269941086bef6c085b
property: use a stack to efficiently convert index to string

The existing code does this conversion by searching the hash table for the
appropriate index which is slow and expensive.

Fixes #15867

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17325)
crypto/property/property_string.c