From 5cd1a6fc3eae07ee6a8a627c5c31f5b38bc3a35c Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Tue, 20 May 2014 15:14:30 +0100 Subject: [PATCH] Fix signed/unsigned warning. --- ssl/ssl_cert.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index aaa6e0a19..dcfdcde71 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c @@ -841,7 +841,8 @@ TLSA_EX_DATA *SSL_get_TLSA_ex_data(SSL *ssl) * 0: match * 1: no match */ -static int tlsa_cmp(const X509 *cert, const unsigned char *tlsa_record, unsigned int reclen) +static int tlsa_cmp(const X509 *cert, const unsigned char *tlsa_record, + int reclen) { const EVP_MD *md; unsigned char digest[EVP_MAX_MD_SIZE];