summaryrefslogtreecommitdiffstats
path: root/test/property_test.c
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2023-01-16 10:04:11 +1100
committerPauli <pauli@openssl.org>2023-01-20 10:15:53 +1100
commit543ac2f0191f10d8a3774727fa691543de8b15bb (patch)
treeb5fb2b4215a606d981ca34b7772ceb0c6240c0e8 /test/property_test.c
parent9866200bbe8eb65628f3f3e6eb290c48efb5a8ac (diff)
Add negative test for unquoted property string
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/20023)
Diffstat (limited to 'test/property_test.c')
-rw-r--r--test/property_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/property_test.c b/test/property_test.c
index 3b97863803..cd89958a01 100644
--- a/test/property_test.c
+++ b/test/property_test.c
@@ -194,6 +194,7 @@ static const struct {
{ 0, "a=abc,#@!, n=1" }, /* non-ASCII character located */
{ 1, "a='Hello" }, /* Unterminated string */
{ 0, "a=\"World" }, /* Unterminated string */
+ { 0, "a=_abd_" }, /* Unquoted string not starting with alphabetic */
{ 1, "a=2, n=012345678" }, /* Bad octal digit */
{ 0, "n=0x28FG, a=3" }, /* Bad hex digit */
{ 0, "n=145d, a=2" }, /* Bad decimal digit */