summaryrefslogtreecommitdiff
path: root/test/evp_test.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2017-05-19 21:43:05 +0100
committerDr. Stephen Henson <steve@openssl.org>2017-05-20 02:53:22 +0100
commit2117a737f379166856723546eba569e8f1050891 (patch)
tree891c556659b3ea8d0f91c0b8586c808abe05dbe7 /test/evp_test.c
parentf513a8a014c8b6ef7b26ad84dd036b43eeeae999 (diff)
downloadopenssl-new-2117a737f379166856723546eba569e8f1050891.tar.gz
move comments to same line as fields
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3500)
Diffstat (limited to 'test/evp_test.c')
-rw-r--r--test/evp_test.c25
1 files changed, 9 insertions, 16 deletions
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,