diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssluse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index cfa761e62..10e39cfa1 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -555,7 +555,7 @@ int cert_stuff(struct connectdata *conn, } /* returns non-zero on failure */ -static int x509_name_oneline(X509_NAME *a, char *buf, int size) +static int x509_name_oneline(X509_NAME *a, char *buf, size_t size) { #if 0 return X509_NAME_oneline(a, buf, size); @@ -1744,7 +1744,8 @@ static int X509V3_ext(struct SessionHandle *data, int certnum, STACK_OF(X509_EXTENSION) *exts) { - int i, j; + int i; + size_t j; if(sk_X509_EXTENSION_num(exts) <= 0) /* no extensions, bail out */ |