From: Jeff Mattson Date: Tue, 24 Sep 2024 14:53:23 +0000 (-0400) Subject: fix formatting X-Git-Tag: 3.8.8~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c0fe36b8996cd28bc9fcc54821b7f8a4cbdde0;p=thirdparty%2Fgnutls.git fix formatting Signed-off-by: Jeff Mattson --- diff --git a/doc/examples/ex-ocsp-client.c b/doc/examples/ex-ocsp-client.c index bc4ac164ec..3350d4d3bf 100644 --- a/doc/examples/ex-ocsp-client.c +++ b/doc/examples/ex-ocsp-client.c @@ -240,7 +240,7 @@ static int _verify_response(gnutls_datum_t *data, gnutls_x509_crt_t cert, if (ret < 0) exit(1); - for (resp_indx = 0; ; resp_indx++) { + for (resp_indx = 0;; resp_indx++) { ret = gnutls_ocsp_resp_check_crt(resp, resp_indx, cert); if (ret == 0 || ret == GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) break; diff --git a/lib/cert-session.c b/lib/cert-session.c index 76c07f23b0..963f797eec 100644 --- a/lib/cert-session.c +++ b/lib/cert-session.c @@ -277,7 +277,7 @@ static int check_ocsp_response(gnutls_session_t session, gnutls_x509_crt_t cert, goto cleanup; } - for (resp_indx = 0; ; resp_indx++) { + for (resp_indx = 0;; resp_indx++) { ret = gnutls_ocsp_resp_check_crt(resp, resp_indx, cert); if (ret == 0 || ret == GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) break; diff --git a/lib/ocsp-api.c b/lib/ocsp-api.c index 8011aac981..664a9e2fee 100644 --- a/lib/ocsp-api.c +++ b/lib/ocsp-api.c @@ -201,7 +201,7 @@ static unsigned resp_matches_pcert(gnutls_ocsp_resp_t resp, goto cleanup; } - for (resp_indx = 0; ; resp_indx++) { + for (resp_indx = 0;; resp_indx++) { ret = gnutls_ocsp_resp_check_crt(resp, resp_indx, crt); if (ret == 0 || ret == GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) break; diff --git a/src/ocsptool-common.c b/src/ocsptool-common.c index 65cb08ed05..656128c54f 100644 --- a/src/ocsptool-common.c +++ b/src/ocsptool-common.c @@ -350,7 +350,7 @@ int check_ocsp_response(gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer, exit(1); } - for (resp_indx = 0; ; resp_indx++) { + for (resp_indx = 0;; resp_indx++) { ret = gnutls_ocsp_resp_check_crt(resp, resp_indx, cert); if (ret == 0 || ret == GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE) break;