X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=openssl.c;h=32f8f27851dd561dd7a0f9653948fee4a7a30d29;hp=e1655d88884daad716b3b10a9b2bb69a0736dee8;hb=0721803ed9b8e7446e7915d4cb53f2284f0631f5;hpb=c7c23a7446807a7529c81cc74ef9c8412bae929c diff --git a/openssl.c b/openssl.c index e1655d88..32f8f278 100644 --- a/openssl.c +++ b/openssl.c @@ -396,6 +396,7 @@ static int ssl_store_cert(struct client_state *csp, X509* crt) } else { + int i; if (bs->type == V_ASN1_NEG_INTEGER) { if (BIO_puts(bio, " (Negative)") < 0) @@ -405,7 +406,7 @@ static int ssl_store_cert(struct client_state *csp, X509* crt) goto exit; } } - for (int i = 0; i < bs->length; i++) + for (i = 0; i < bs->length; i++) { if (BIO_printf(bio, "%02x%c", bs->data[i], ((i + 1 == bs->length) ? '\n' : ':')) <= 0)