util/wrap.pl.in: Use parentheses so `kill` gets all its arguments
authorRichard Levitte <levitte@openssl.org>
Wed, 14 Sep 2022 05:07:41 +0000 (07:07 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 15 Sep 2022 06:42:23 +0000 (08:42 +0200)
commitef6d6e452dc57ef4a55d7a6ec0693be650009bb5
tree891a085a7ee9b9b3a7ed5ea61fd0972d746a97d1
parent606e0426a148034c8c131de9f31f7d3e38be99ea
util/wrap.pl.in: Use parentheses so `kill` gets all its arguments

In perl, this may be ambiguous:

    fn (expr1), expr2

Is the comma (which may be `=>` just as well in this case) a separator
between arguments to `fn`, or is it the comma operator, separating the
expressions `fn(expr1)` and `expr2`?  It appears that in this particular
case, perl takes the existing parentheses to mean the latter.  When the
former was intended, extra parentheses are required.

Fixes #19209

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19211)
util/wrap.pl.in