Avoid 'warning: comparison between signed and unsigned'.
This commit is contained in:
@@ -555,7 +555,7 @@ int cert_stuff(struct connectdata *conn,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* returns non-zero on failure */
|
/* 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
|
#if 0
|
||||||
return X509_NAME_oneline(a, buf, size);
|
return X509_NAME_oneline(a, buf, size);
|
||||||
@@ -1744,7 +1744,8 @@ static int X509V3_ext(struct SessionHandle *data,
|
|||||||
int certnum,
|
int certnum,
|
||||||
STACK_OF(X509_EXTENSION) *exts)
|
STACK_OF(X509_EXTENSION) *exts)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i;
|
||||||
|
size_t j;
|
||||||
|
|
||||||
if(sk_X509_EXTENSION_num(exts) <= 0)
|
if(sk_X509_EXTENSION_num(exts) <= 0)
|
||||||
/* no extensions, bail out */
|
/* no extensions, bail out */
|
||||||
|
Reference in New Issue
Block a user