From: Alex Gaynor <alex.gaynor@gmail.com>
Date: Sat, 8 Apr 2017 00:58:50 +0000 (-0400)
Subject: This is an int
X-Git-Tag: OpenSSL_1_1_1-pre1~1467
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8dcb87fdbaba2be3e75fdaf16382c827165d2af5;p=oweals%2Fopenssl.git

This is an int

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3149)
---

diff --git a/crypto/ct/ct_x509v3.c b/crypto/ct/ct_x509v3.c
index 7e370f47d9..db46f80ada 100644
--- a/crypto/ct/ct_x509v3.c
+++ b/crypto/ct/ct_x509v3.c
@@ -32,7 +32,7 @@ static int i2r_SCT_LIST(X509V3_EXT_METHOD *method, STACK_OF(SCT) *sct_list,
 
 static int set_sct_list_source(STACK_OF(SCT) *s, sct_source_t source) {
     if (s != NULL) {
-        size_t i;
+        int i;
         for (i = 0; i < sk_SCT_num(s); i++) {
             int res = SCT_set_source(
                 sk_SCT_value(s, i), SCT_SOURCE_X509V3_EXTENSION);