aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-07-24 10:58:34 +0200
committerTobias Brunner <tobias@strongswan.org>2013-07-24 16:17:22 +0200
commitcfca183d557ed302fd6eeb862e90f4b56800b417 (patch)
treee5a358bf229746b81ed75129858375656e38d88d
parent346a4a1fc2a76f69592b2a111d25320fb07adaa7 (diff)
downloadstrongswan-cfca183d557ed302fd6eeb862e90f4b56800b417.tar.bz2
strongswan-cfca183d557ed302fd6eeb862e90f4b56800b417.tar.xz
pkcs5: Add missing break statements when checking crypto primitives
-rw-r--r--src/libstrongswan/crypto/pkcs5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/crypto/pkcs5.c b/src/libstrongswan/crypto/pkcs5.c
index 679d270d2..3b4df0e8a 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;