summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/x509/crq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/crq.c b/lib/x509/crq.c
index 0f426d06e8..e04df2b766 100644
--- a/lib/x509/crq.c
+++ b/lib/x509/crq.c
@@ -1867,7 +1867,7 @@ gnutls_x509_crq_set_subject_alt_name (gnutls_x509_crq_t crq,
{
int result = 0;
opaque tmp[MAX_CRQ_EXTENSIONS_SIZE];
- size_t tmp_size;
+ size_t tmp_size = 0;
gnutls_datum_t der_data = { NULL, 0 };
gnutls_datum_t prev_der_data;
unsigned int critical = 0;