Fix signed/unsigned warning.
This commit is contained in:
parent
4ceb430a46
commit
5cd1a6fc3e
@ -841,7 +841,8 @@ TLSA_EX_DATA *SSL_get_TLSA_ex_data(SSL *ssl)
|
|||||||
* 0: match
|
* 0: match
|
||||||
* 1: no 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;
|
const EVP_MD *md;
|
||||||
unsigned char digest[EVP_MAX_MD_SIZE];
|
unsigned char digest[EVP_MAX_MD_SIZE];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user