Fix signed/unsigned warning.
authorBen Laurie <ben@links.org>
Tue, 20 May 2014 14:14:30 +0000 (15:14 +0100)
committerBen Laurie <ben@links.org>
Tue, 20 May 2014 14:14:30 +0000 (15:14 +0100)
ssl/ssl_cert.c

index aaa6e0a198a2d5d3930d9cdb7b5fc059ec635b19..dcfdcde71ef1987e63bb0a286d5d807d1fbcb355 100644 (file)
@@ -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];