From 3df3fabb87b81406afd7613b6e1646877484e4bd Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 15 Sep 2017 15:43:16 +0200 Subject: [PATCH] No default clause needed --- src/libsodium/crypto_pwhash/crypto_pwhash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libsodium/crypto_pwhash/crypto_pwhash.c b/src/libsodium/crypto_pwhash/crypto_pwhash.c index 515393aa..04719c0c 100644 --- a/src/libsodium/crypto_pwhash/crypto_pwhash.c +++ b/src/libsodium/crypto_pwhash/crypto_pwhash.c @@ -163,9 +163,8 @@ crypto_pwhash_str_alg(char out[crypto_pwhash_STRBYTES], case crypto_pwhash_ALG_ARGON2ID13: return crypto_pwhash_argon2id_str(out, passwd, passwdlen, opslimit, memlimit); - default: - sodium_misuse(); } + sodium_misuse(); } int