af-alg: Fix compiler warning

This commit is contained in:
Tobias Brunner 2022-12-01 09:27:44 +01:00
parent 3809bdac90
commit 02519ad60e

View File

@ -174,7 +174,7 @@ METHOD(signer_t, destroy, void,
af_alg_signer_t *af_alg_signer_create(integrity_algorithm_t algo) af_alg_signer_t *af_alg_signer_create(integrity_algorithm_t algo)
{ {
private_af_alg_signer_t *this; private_af_alg_signer_t *this;
size_t block_size, key_size; size_t block_size, key_size = 0;
char *name; char *name;
block_size = lookup_alg(algo, &name, &key_size); block_size = lookup_alg(algo, &name, &key_size);