Merge pull request #226 from fperrad/20170609_lint
some linting [skip ci]
This commit is contained in:
commit
bda493d770
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define REGISTER_CIPHER(h) do {\
|
#define REGISTER_CIPHER(h) do {\
|
||||||
LTC_ARGCHK((err = register_cipher(h) == -1 ? CRYPT_ERROR : CRYPT_OK) == CRYPT_OK); \
|
LTC_ARGCHK((err = register_cipher(h)) != -1); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
int register_all_ciphers(void)
|
int register_all_ciphers(void)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define REGISTER_HASH(h) do {\
|
#define REGISTER_HASH(h) do {\
|
||||||
LTC_ARGCHK((err = register_hash(h) == -1 ? CRYPT_ERROR : CRYPT_OK) == CRYPT_OK); \
|
LTC_ARGCHK((err = register_hash(h)) != -1); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
int register_all_hashes(void)
|
int register_all_hashes(void)
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define REGISTER_PRNG(h) do {\
|
#define REGISTER_PRNG(h) do {\
|
||||||
LTC_ARGCHK((err = register_prng(h) == -1 ? CRYPT_ERROR : CRYPT_OK) == CRYPT_OK); \
|
LTC_ARGCHK((err = register_prng(h)) != -1); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
int register_all_prngs(void)
|
int register_all_prngs(void)
|
||||||
|
@ -201,7 +201,7 @@ int pkcs_5_test (void)
|
|||||||
}
|
}
|
||||||
else if (compare_testvector(DK, dkLen, cases_5_1[i].DK, cases_5_1[i].dkLen, "PKCS#5_1", i)) {
|
else if (compare_testvector(DK, dkLen, cases_5_1[i].DK, cases_5_1[i].dkLen, "PKCS#5_1", i)) {
|
||||||
++failed;
|
++failed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* testing alg 1_openssl */
|
/* testing alg 1_openssl */
|
||||||
|
Loading…
Reference in New Issue
Block a user