From: Dr. Stephen Henson <steve@openssl.org>
Date: Fri, 19 May 2017 20:43:05 +0000 (+0100)
Subject: move comments to same line as fields
X-Git-Tag: OpenSSL_1_1_1-pre1~1478
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2117a737f379166856723546eba569e8f1050891;p=oweals%2Fopenssl.git

move comments to same line as fields

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3500)
---

diff --git a/test/evp_test.c b/test/evp_test.c
index c86d3bea30..0e1781f619 100644
--- a/test/evp_test.c
+++ b/test/evp_test.c
@@ -2206,23 +2206,16 @@ static const EVP_TEST_METHOD keypair_test_method = {
 };
 
 typedef struct {
-    /* Set to 1 if verifying */
-    int is_verify;
-    /* Set to 1 for one shot operation */
-    int is_oneshot;
-    /* Digest to use */
-    const EVP_MD *md;
-    /* Digest context */
-    EVP_MD_CTX *ctx;
+    int is_verify; /* Set to 1 if verifying */
+    int is_oneshot; /* Set to 1 for one shot operation */
+    const EVP_MD *md; /* Digest to use */
+    EVP_MD_CTX *ctx; /* Digest context */
     EVP_PKEY_CTX *pctx;
-    /* Input data: streaming */
-    STACK_OF(EVP_TEST_BUFFER) *input;
-    /* Input data if one shot */
-    unsigned char *osin;
-    size_t osin_len;
-    /* Expected output */
-    unsigned char *output;
-    size_t output_len;
+    STACK_OF(EVP_TEST_BUFFER) *input; /* Input data: streaming */
+    unsigned char *osin; /* Input data if one shot */
+    size_t osin_len; /* Input length data if one shot */
+    unsigned char *output; /* Expected output */
+    size_t output_len; /* Expected output length */
 } DIGESTSIGN_DATA;
 
 static int digestsigver_test_init(EVP_TEST *t, const char *alg, int is_verify,