diff options
author | Matt Caswell <matt@openssl.org> | 2018-02-12 15:27:02 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-02-20 13:59:30 +0100 |
commit | 68b20c00659c16b65ae2fcfc120e1407a68de04f (patch) | |
tree | 42cc29f9e8df7f95b01998eed8034623bb2d8d0b /test/curve448_internal_test.c | |
parent | Some style fixes (diff) | |
download | openssl-68b20c00659c16b65ae2fcfc120e1407a68de04f.tar.xz openssl-68b20c00659c16b65ae2fcfc120e1407a68de04f.zip |
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 '')
-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 f01d81bbd1..aac4818965 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; |