move comments to same line as fields
authorDr. Stephen Henson <steve@openssl.org>
Fri, 19 May 2017 20:43:05 +0000 (21:43 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 20 May 2017 01:53:22 +0000 (02:53 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3500)

test/evp_test.c

index c86d3bea30383f6be4037c6c5354dd165d920347..0e1781f61962aca8e9131a98971be931682bd799 100644 (file)
@@ -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,