mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +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:
parent
27e7273c49
commit
3932139e40
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue