diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-16 17:24:52 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-16 17:27:47 +0100 |
commit | bc9addd994c7d5f5471038cf423f40fb93442558 (patch) | |
tree | 87fe2adc4a27089056cde0dc434cbc510b3e0cb9 /src | |
parent | 00e4aab6d1bc1bd30094c8f4453179004538de5d (diff) | |
download | fastd-bc9addd994c7d5f5471038cf423f40fb93442558.tar fastd-bc9addd994c7d5f5471038cf423f40fb93442558.zip |
generic-gcm: fix a GCC uninitialized-use warning
Diffstat (limited to 'src')
-rw-r--r-- | src/methods/generic_gcm/generic_gcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/methods/generic_gcm/generic_gcm.c b/src/methods/generic_gcm/generic_gcm.c index 5d6c45a..d40c7cb 100644 --- a/src/methods/generic_gcm/generic_gcm.c +++ b/src/methods/generic_gcm/generic_gcm.c @@ -95,7 +95,7 @@ static size_t method_min_decrypt_tail_space(fastd_context_t *ctx UNUSED) { static size_t method_key_length(fastd_context_t *ctx, const char *name) { - const fastd_cipher_t *cipher; + const fastd_cipher_t *cipher = NULL; const fastd_cipher_context_t *cctx; if (!cipher_get(ctx, name, &cipher, &cctx)) exit_bug(ctx, "generic-gcm: can't get cipher key length"); |