From ea6018d600ba0ea3aba54ed41567a73f3a1cd384 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 22 Jan 2017 21:53:16 +0000 Subject: Fix variable scope in sbearssl_ta_certs --- src/sbearssl/sbearssl_ta_certs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sbearssl') diff --git a/src/sbearssl/sbearssl_ta_certs.c b/src/sbearssl/sbearssl_ta_certs.c index 42b6115..9f96a0a 100644 --- a/src/sbearssl/sbearssl_ta_certs.c +++ b/src/sbearssl/sbearssl_ta_certs.c @@ -18,7 +18,7 @@ int sbearssl_ta_certs (genalloc *taga, stralloc *tasa, sbearssl_cert const *cert for (; i < certn ; i++) { sbearssl_ta ta ; - int r = sbearssl_ta_cert(&ta, certs + i, certstorage, tasa) ; + r = sbearssl_ta_cert(&ta, certs + i, certstorage, tasa) ; if (r) goto fail ; if (!genalloc_append(sbearssl_ta, taga, &ta)) goto rfail ; } -- cgit v1.2.3