aboutsummaryrefslogtreecommitdiffstats
path: root/util/check-format-test-negatives.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-04-07 14:27:08 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-07-20 11:17:34 +0200
commita77571c34f61ceb455a4aa357d4d95e412f9e9f8 (patch)
tree9f901b1fa58704d9543ac11994fa5fb03284d4fa /util/check-format-test-negatives.c
parent53043311560f836ce65e7ad55423363901d1287a (diff)
downloadopenssl-a77571c34f61ceb455a4aa357d4d95e412f9e9f8.tar.gz
check-format.pl: Allow comment start '/*' after opening '(','[','{'
On this occasion fix uses of the word 'nor'. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12270)
Diffstat (limited to 'util/check-format-test-negatives.c')
-rw-r--r--util/check-format-test-negatives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/check-format-test-negatives.c b/util/check-format-test-negatives.c
index 33d0e9445d..1fa53a0426 100644
--- a/util/check-format-test-negatives.c
+++ b/util/check-format-test-negatives.c
@@ -22,7 +22,7 @@ int f(void) /*
*/
{
if (ctx == NULL) { /* non-leading intra-line comment */
- if (pem_name != NULL)
+ if (/* comment after '(' */ pem_name != NULL /* comment before ')' */)
/* entire-line comment indent usually like for the following line */
return NULL; /* hanging indent also for this line after comment */
/* leading comment has same indentation as normal code */ stmt;