You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2019/06/04 00:51:52 UTC

[trafficserver] branch master updated: Fix a type mismatch in client_context_dump plugin

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 8ea89a0  Fix a type mismatch in client_context_dump plugin
8ea89a0 is described below

commit 8ea89a0bfabe18683d446500dbc43a1406c523a6
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Fri May 31 11:00:14 2019 +0900

    Fix a type mismatch in client_context_dump plugin
---
 example/client_context_dump/client_context_dump.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/client_context_dump/client_context_dump.cc b/example/client_context_dump/client_context_dump.cc
index 9f83fd0..ae19e98 100644
--- a/example/client_context_dump/client_context_dump.cc
+++ b/example/client_context_dump/client_context_dump.cc
@@ -115,7 +115,7 @@ dump_context(const char *ca_path, const char *ck_path)
         }
 
         // Serial number
-        long sn = 0;
+        int64_t sn = 0;
 #if OPENSSL_VERSION_NUMBER >= 0x010100000
         ASN1_INTEGER_get_int64(&sn, serial);
 #else