Initialize g and p in create_dh factory method

This commit is contained in:
Tobias Brunner
2012-09-28 15:48:09 +02:00
parent 10b116aa13
commit 24aa55867e
+1 -1
View File
@@ -360,7 +360,7 @@ METHOD(crypto_factory_t, create_dh, diffie_hellman_t*,
enumerator_t *enumerator;
entry_t *entry;
va_list args;
chunk_t g, p;
chunk_t g = chunk_empty, p = chunk_empty;
diffie_hellman_t *diffie_hellman = NULL;
if (group == MODP_CUSTOM)