From 3932139e40e9fa6d69e77da3869899334dad394a Mon Sep 17 00:00:00 2001 From: david Date: Tue, 18 Aug 2009 21:36:09 +0000 Subject: [PATCH] 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. --- nse_ssl_cert.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nse_ssl_cert.cc b/nse_ssl_cert.cc index 876000bf1..94bc941bd 100644 --- a/nse_ssl_cert.cc +++ b/nse_ssl_cert.cc @@ -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");