diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2008-09-23 13:16:36 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2008-09-23 13:16:36 +0000 |
commit | 2a09ffc648ed9d57066cf8a6e25205c8669e71a0 (patch) | |
tree | cc79ea1326e7b65bf179889bee15835783dcd4f4 /lib | |
parent | 821d8fee3bcfee0c8fa239a8fabafa6fd414c9db (diff) |
Avoid 'warning: comparison between signed and unsigned'.
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 */ |