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:
authorJP Aumasson <jeanphilippe.aumasson@gmail.com>2016-10-12 19:08:51 +0300
committerJP Aumasson <jeanphilippe.aumasson@gmail.com>2016-10-12 19:08:51 +0300
commitee9e22ba34f93309b2ff86da272592d28cdd110d (patch)
treeed712cb827ed52b8a035dd6ce8937a5ee2e94a01 /ref/blake2xb-ref.c
parent2a22fad50080c133aa41b3a54290d80d01f54cd1 (diff)
consistency
Diffstat (limited to 'ref/blake2xb-ref.c')
-rw-r--r--ref/blake2xb-ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ref/blake2xb-ref.c b/ref/blake2xb-ref.c
index 640daf0..e47091d 100644
--- a/ref/blake2xb-ref.c
+++ b/ref/blake2xb-ref.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;
}