summaryrefslogtreecommitdiffstats
path: root/test/curve448_internal_test.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-02-12 14:27:02 +0000
committerMatt Caswell <matt@openssl.org>2018-02-20 12:59:30 +0000
commit68b20c00659c16b65ae2fcfc120e1407a68de04f (patch)
tree42cc29f9e8df7f95b01998eed8034623bb2d8d0b /test/curve448_internal_test.c
parent04ebd4e17e1de9a5baa65113cce57817b05ae6f8 (diff)
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.c4
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;