Skip to content
Snippets Groups Projects
Commit 2a09ffc6 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Avoid 'warning: comparison between signed and unsigned'.

parent 821d8fee
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment