From: Tobias Brunner Date: Wed, 24 Jul 2013 08:58:34 +0000 (+0200) Subject: pkcs5: Add missing break statements when checking crypto primitives X-Git-Tag: 5.1.0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfca183d557ed302fd6eeb862e90f4b56800b417;p=thirdparty%2Fstrongswan.git pkcs5: Add missing break statements when checking crypto primitives --- diff --git a/src/libstrongswan/crypto/pkcs5.c b/src/libstrongswan/crypto/pkcs5.c index 679d270d2a..3b4df0e8a7 100644 --- a/src/libstrongswan/crypto/pkcs5.c +++ b/src/libstrongswan/crypto/pkcs5.c @@ -310,6 +310,7 @@ static bool ensure_crypto_primitives(private_pkcs5_t *this, chunk_t data) } this->data.pbes1.hasher = hasher; } + break; } case PKCS5_SCHEME_PBES2: { @@ -328,6 +329,7 @@ static bool ensure_crypto_primitives(private_pkcs5_t *this, chunk_t data) } this->data.pbes2.prf = prf; } + break; } case PKCS5_SCHEME_PKCS12: break;