From: Ben Laurie Date: Tue, 20 May 2014 14:14:30 +0000 (+0100) Subject: Fix signed/unsigned warning. X-Git-Tag: OpenSSL_1_0_2-beta2~202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cd1a6fc3eae07ee6a8a627c5c31f5b38bc3a35c;p=openssl Fix signed/unsigned warning. --- diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index aaa6e0a198..dcfdcde71e 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];