This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new c31b062ad Fix compile warning on BoringSSL build (#9525)
c31b062ad is described below

commit c31b062ad342f8bbc17d2879c027314f905fedca
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Thu Mar 16 10:37:42 2023 -0600

    Fix compile warning on BoringSSL build (#9525)
    
    (cherry picked from commit 0bd8816fb3ccb1f130a33d6af6293cda59860626)
---
 iocore/net/OCSPStapling.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/OCSPStapling.cc b/iocore/net/OCSPStapling.cc
index 29a83f9c8..1e1aff8c9 100644
--- a/iocore/net/OCSPStapling.cc
+++ b/iocore/net/OCSPStapling.cc
@@ -130,7 +130,7 @@ stapling_get_issuer(SSL_CTX *ssl_ctx, X509 *x)
     goto end;
   }
 
-  for (int i = 0; i < sk_X509_num(extra_certs); i++) {
+  for (int i = 0; i < static_cast<int>(sk_X509_num(extra_certs)); i++) {
     issuer = sk_X509_value(extra_certs, i);
     if (X509_check_issued(issuer, x) == X509_V_OK) {
 #if OPENSSL_VERSION_NUMBER < 0x10100000

Reply via email to