diff options
author | Matt Caswell <matt@openssl.org> | 2018-02-12 14:27:02 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-02-20 12:59:30 +0000 |
commit | 68b20c00659c16b65ae2fcfc120e1407a68de04f (patch) | |
tree | 42cc29f9e8df7f95b01998eed8034623bb2d8d0b /test/curve448_internal_test.c | |
parent | 04ebd4e17e1de9a5baa65113cce57817b05ae6f8 (diff) | |
download | openssl-68b20c00659c16b65ae2fcfc120e1407a68de04f.zip openssl-68b20c00659c16b65ae2fcfc120e1407a68de04f.tar.gz openssl-68b20c00659c16b65ae2fcfc120e1407a68de04f.tar.bz2 |
More style fixes to Curve448 code based on review feedback
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5105)
Diffstat (limited to 'test/curve448_internal_test.c')
-rw-r--r-- | test/curve448_internal_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/curve448_internal_test.c b/test/curve448_internal_test.c index f01d81b..aac4818 100644 --- a/test/curve448_internal_test.c +++ b/test/curve448_internal_test.c @@ -587,8 +587,8 @@ static const uint8_t *dohash(EVP_MD_CTX *hashctx, const uint8_t *msg, static uint8_t hashout[64]; if (!EVP_DigestInit_ex(hashctx, EVP_shake256(), NULL) - || !EVP_DigestUpdate(hashctx, msg, msglen) - || !EVP_DigestFinalXOF(hashctx, hashout, sizeof(hashout))) + || !EVP_DigestUpdate(hashctx, msg, msglen) + || !EVP_DigestFinalXOF(hashctx, hashout, sizeof(hashout))) return NULL; return hashout; |