diff options
Diffstat (limited to 'sse/blake2xs.c')
-rw-r--r-- | sse/blake2xs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sse/blake2xs.c b/sse/blake2xs.c index b0799d0..7e2b31d 100644 --- a/sse/blake2xs.c +++ b/sse/blake2xs.c @@ -34,7 +34,7 @@ int blake2xs_init( blake2xs_state *S, const size_t outlen, const void *key, size return -1; } - if (keylen > 0 && key == NULL) { + if (NULL == key & keylen > 0) { return -1; } |