mirror of
https://github.com/nmap/nmap.git
synced 2026-02-12 08:26:33 +00:00
Use an unsigned int instead of size_t in the argument to X509_digest.
Compilation was broken on 64-bit platforms where the size of unsigned int and size_t differed.
This commit is contained in:
@@ -124,7 +124,7 @@ static int ssl_cert_digest(lua_State *L)
|
||||
struct cert_userdata *udata;
|
||||
const char *algorithm;
|
||||
unsigned char buf[256];
|
||||
size_t n;
|
||||
unsigned int n;
|
||||
const EVP_MD *md;
|
||||
|
||||
udata = (struct cert_userdata *) luaL_checkudata(L, 1, "SSL_CERT");
|
||||
|
||||
Reference in New Issue
Block a user