Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/BLAKE2/BLAKE2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sse/blake2xb.c')
-rw-r--r--sse/blake2xb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sse/blake2xb.c b/sse/blake2xb.c
index 640daf0..e47091d 100644
--- a/sse/blake2xb.c
+++ b/sse/blake2xb.c
@@ -34,7 +34,7 @@ int blake2xb_init( blake2xb_state *S, const size_t outlen, const void *key, size
return -1;
}
- if (keylen > 0 && key == NULL) {
+ if (NULL == key && keylen > 0) {
return -1;
}