ossl_property_list_to_string: handle quoted strings
authorPauli <pauli@openssl.org>
Sun, 24 Sep 2023 23:34:07 +0000 (09:34 +1000)
committerPauli <pauli@openssl.org>
Wed, 4 Oct 2023 21:10:00 +0000 (08:10 +1100)
commitfdfc1de2aa206ff10287933e729db892bd545567
tree4eeaf3738ec515996cb3fd7f6db9575fc4eb5d25
parent9c20f5db0feaddc4c9ea4c4b2b07e6d87d6701f1
ossl_property_list_to_string: handle quoted strings

ossl_property_list_to_string() didn't quote strings correctly which
could result in a generated property string being unparsable.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22182)

(cherry picked from commit fb20e66c6b2651067f50bab8cf098c71e2caed4b)
crypto/property/property_parse.c
test/property_test.c