pkcs5: Add missing break statements when checking crypto primitives

This commit is contained in:
Tobias Brunner
2013-07-24 16:17:22 +02:00
parent 346a4a1fc2
commit cfca183d55
+2
View File
@@ -310,6 +310,7 @@ static bool ensure_crypto_primitives(private_pkcs5_t *this, chunk_t data)
} }
this->data.pbes1.hasher = hasher; this->data.pbes1.hasher = hasher;
} }
break;
} }
case PKCS5_SCHEME_PBES2: 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; this->data.pbes2.prf = prf;
} }
break;
} }
case PKCS5_SCHEME_PKCS12: case PKCS5_SCHEME_PKCS12:
break; break;