mirror of
https://github.com/lammertb/libhttp.git
synced 2025-12-22 04:02:04 +03:00
Fix signed/unsigned warning
This commit is contained in:
@@ -11389,7 +11389,7 @@ ssl_get_client_cert_info(struct mg_connection *conn)
|
|||||||
/* Calculate SHA1 fingerprint and store as a hex string */
|
/* Calculate SHA1 fingerprint and store as a hex string */
|
||||||
ulen = 0;
|
ulen = 0;
|
||||||
ASN1_digest((int (*)())i2d_X509, digest, (char *)cert, buf, &ulen);
|
ASN1_digest((int (*)())i2d_X509, digest, (char *)cert, buf, &ulen);
|
||||||
if (!hexdump2string(buf, ulen, str_finger, (int)sizeof(str_finger))) {
|
if (!hexdump2string(buf, (int)ulen, str_finger, (int)sizeof(str_finger))) {
|
||||||
*str_finger = 0;
|
*str_finger = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user