commit 81340b1de24e268b408755978b0da4ae44493507
parent f9ffd6a6462f24e68c9fa0ed90011cacd338faf0
Author: sin <sin@2f30.org>
Date: Wed, 6 Apr 2016 14:17:53 +0100
no need to init *aead
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/stun.c b/stun.c
@@ -663,7 +663,6 @@ aead_from_name(const EVP_AEAD **aead, const char *name)
{ "chacha20-poly1305-ietf", EVP_aead_chacha20_poly1305_ietf }
};
- *aead = NULL;
for (i = 0; i < LEN(ciphers); i++) {
if (!strcmp(ciphers[i].name, name)) {
*aead = (*ciphers[i].aeadfn)();