summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2022-07-30 14:09:00 +0000
committerjsing <>2022-07-30 14:09:00 +0000
commit500ea0c13c385ecf1cf6da588c1a5928afa23149 (patch)
tree1f3c826a174352eedf0e1bb1e3372748073add6c /src
parent68159f212768aec19b6f6a08ed25de49d43a595b (diff)
downloadopenbsd-500ea0c13c385ecf1cf6da588c1a5928afa23149.tar.gz
openbsd-500ea0c13c385ecf1cf6da588c1a5928afa23149.tar.bz2
openbsd-500ea0c13c385ecf1cf6da588c1a5928afa23149.zip
Fix comment formatting.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/aead/aeadtest.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/aead/aeadtest.c b/src/regress/lib/libcrypto/aead/aeadtest.c
index fea294baa8..71b3a2f243 100644
--- a/src/regress/lib/libcrypto/aead/aeadtest.c
+++ b/src/regress/lib/libcrypto/aead/aeadtest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: aeadtest.c,v 1.14 2022/07/30 14:06:36 jsing Exp $ */ 1/* $OpenBSD: aeadtest.c,v 1.15 2022/07/30 14:09:00 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014, Google Inc. 3 * Copyright (c) 2014, Google Inc.
4 * 4 *
@@ -25,7 +25,8 @@
25#include <openssl/evp.h> 25#include <openssl/evp.h>
26#include <openssl/err.h> 26#include <openssl/err.h>
27 27
28/* This program tests an AEAD against a series of test vectors from a file. The 28/*
29 * This program tests an AEAD against a series of test vectors from a file. The
29 * test vector file consists of key-value lines where the key and value are 30 * test vector file consists of key-value lines where the key and value are
30 * separated by a colon and optional whitespace. The keys are listed in 31 * separated by a colon and optional whitespace. The keys are listed in
31 * NAMES, below. The values are hex-encoded data. 32 * NAMES, below. The values are hex-encoded data.
@@ -267,10 +268,12 @@ main(int argc, char **argv)
267 continue; 268 continue;
268 } 269 }
269 270
270 /* Each line looks like: 271 /*
272 * Each line looks like:
271 * TYPE: 0123abc 273 * TYPE: 0123abc
272 * Where "TYPE" is the type of the data on the line, 274 * Where "TYPE" is the type of the data on the line,
273 * e.g. "KEY". */ 275 * e.g. "KEY".
276 */
274 for (i = 0; line[i] != 0 && line[i] != '\n'; i++) { 277 for (i = 0; line[i] != 0 && line[i] != '\n'; i++) {
275 if (line[i] == ':') { 278 if (line[i] == ':') {
276 type_len = i; 279 type_len = i;