1
0
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:
david
2009-08-18 21:36:09 +00:00
parent 27e7273c49
commit 3932139e40

View File

@@ -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");