From 78de5a94d8e2b0a27ae026de29c195e944a49c6d Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 30 Sep 2021 11:39:41 +1000 Subject: doc: document that property names are unique Both queries and definitions only support each individual name appearing once. It is an error to have a name appear more than once. Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/16716) --- doc/man7/property.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/man7') diff --git a/doc/man7/property.pod b/doc/man7/property.pod index a75f262246..109336ba47 100644 --- a/doc/man7/property.pod +++ b/doc/man7/property.pod @@ -41,7 +41,8 @@ property names like A I is a I pair. A I is a sequence of comma separated properties. -There can be any number of properties in a definition. +There can be any number of properties in a definition, however each name must +be unique. For example: "" defines an empty property definition (i.e., no restriction); "my.foo=bar" defines a property named I which has a string value I and "iteration.count=3" defines a property named I which @@ -68,6 +69,7 @@ Matching such clauses is not a requirement, but any additional optional match counts in favor of the algorithm. More details about that in the B section. A I is a sequence of comma separated property query clauses. +It is an error if a property name appears in more than one query clause. The full syntax for property queries appears below, but the available syntactic features are: -- cgit v1.2.3