From 35a1cc90bc1795e8893c11e442790ee7f659fffb Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Sat, 17 Jan 2015 00:06:54 +0000 Subject: More comment realignment Reviewed-by: Tim Hudson --- engines/ccgost/gost_ctl.c | 26 +++++++++++++------------- engines/e_cswift.c | 10 +++++----- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'engines') diff --git a/engines/ccgost/gost_ctl.c b/engines/ccgost/gost_ctl.c index 58b5c2b615..6c93c4584d 100644 --- a/engines/ccgost/gost_ctl.c +++ b/engines/ccgost/gost_ctl.c @@ -18,20 +18,20 @@ static char *gost_params[GOST_PARAM_MAX + 1] = { NULL }; static const char *gost_envnames[] = { "CRYPT_PARAMS" }; const ENGINE_CMD_DEFN gost_cmds[] = { -/*- { GOST_CTRL_RNG, - "RNG", - "Type of random number generator to use", - ENGINE_CMD_FLAG_STRING - }, - { GOST_CTRL_RNG_PARAMS, - "RNG_PARAMS", - "Parameter for random number generator", - ENGINE_CMD_FLAG_STRING - }, +/*- { GOST_CTRL_RNG, + "RNG", + "Type of random number generator to use", + ENGINE_CMD_FLAG_STRING + }, + { GOST_CTRL_RNG_PARAMS, + "RNG_PARAMS", + "Parameter for random number generator", + ENGINE_CMD_FLAG_STRING + }, */ {GOST_CTRL_CRYPT_PARAMS, - "CRYPT_PARAMS", - "OID of default GOST 28147-89 parameters", - ENGINE_CMD_FLAG_STRING}, + "CRYPT_PARAMS", + "OID of default GOST 28147-89 parameters", + ENGINE_CMD_FLAG_STRING}, {0, NULL, NULL, 0} }; diff --git a/engines/e_cswift.c b/engines/e_cswift.c index 70c2f226c3..c429802d5f 100644 --- a/engines/e_cswift.c +++ b/engines/e_cswift.c @@ -1037,11 +1037,11 @@ static int cswift_rand_bytes(unsigned char *buf, int num) while (num >= (int)sizeof(buf32)) { largenum.value = buf; largenum.nbytes = sizeof(buf32); - /*- - * tell CryptoSwift how many bytes we want and where we want it. - * Note: - CryptoSwift cannot do more than 4096 bytes at a time. - * - CryptoSwift can only do multiple of 32-bits. - */ + /*- + * tell CryptoSwift how many bytes we want and where we want it. + * Note: - CryptoSwift cannot do more than 4096 bytes at a time. + * - CryptoSwift can only do multiple of 32-bits. + */ swrc = p_CSwift_SimpleRequest(hac, SW_CMD_RAND, NULL, 0, &largenum, 1); if (swrc != SW_OK) { -- cgit v1.2.3