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

maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 67064f6029 Fix cripts build issue (#12351)
67064f6029 is described below

commit 67064f6029da01b3fedd8a0687b2ffc56a10f8b4
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Mon Jul 14 17:18:41 2025 -0600

    Fix cripts build issue (#12351)
    
    sk_GENERAL_NAME_num in BoringSSL returns size_t
---
 src/cripts/Certs.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cripts/Certs.cc b/src/cripts/Certs.cc
index abb85c9a5d..8f893c14dc 100644
--- a/src/cripts/Certs.cc
+++ b/src/cripts/Certs.cc
@@ -190,7 +190,7 @@ CertBase::SAN::SANBase::_load() const
   auto bio = BIO_new(BIO_s_mem());
 
   if (bio) {
-    for (int i = 0; i < sk_GENERAL_NAME_num(san_names); ++i) {
+    for (int i = 0; i < static_cast<int>(sk_GENERAL_NAME_num(san_names)); ++i) 
{
       const GENERAL_NAME *name = sk_GENERAL_NAME_value(san_names, i);
 
       if (static_cast<cripts::Certs::SAN>(name->type) == _san_id) {

Reply via email to