summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-01-22 21:53:16 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-01-22 21:53:16 +0000
commitea6018d600ba0ea3aba54ed41567a73f3a1cd384 (patch)
tree732c5be96130d485bd4902f08794e0aea970a834
parentf2fcc77f4f4d39194e56312e13389b48e9f314b4 (diff)
downloads6-networking-ea6018d600ba0ea3aba54ed41567a73f3a1cd384.tar.xz
Fix variable scope in sbearssl_ta_certs
-rw-r--r--src/sbearssl/sbearssl_ta_certs.c2
1 files changed, 1 insertions, 1 deletions
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 ;
}