From 0c0fdef9b3fb603e8a170a598351aec5c27896c7 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 29 Aug 2008 11:14:49 +0200 Subject: Fix warnings. --- lib/gnutls_x509.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/gnutls_x509.c') diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c index 651ba61aa1..5a6f4cead7 100644 --- a/lib/gnutls_x509.c +++ b/lib/gnutls_x509.c @@ -1560,7 +1560,7 @@ parse_pkcs12 (gnutls_certificate_credentials_t res, gnutls_x509_crt_t * cert, gnutls_x509_crl_t * crl) { gnutls_pkcs12_bag_t bag = NULL; - int index = 0; + int idx = 0; int ret; for (;;) @@ -1576,7 +1576,7 @@ parse_pkcs12 (gnutls_certificate_credentials_t res, goto done; } - ret = gnutls_pkcs12_get_bag (p12, index, bag); + ret = gnutls_pkcs12_get_bag (p12, idx, bag); if (ret == GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) break; if (ret < 0) @@ -1691,7 +1691,7 @@ parse_pkcs12 (gnutls_certificate_credentials_t res, } } - index++; + idx++; gnutls_pkcs12_bag_deinit (bag); } -- cgit v1.2.1