summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl.c b/src/openssl.c
index 66c5d8b..67c8263 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -8510,7 +8510,7 @@ static int ssl_getClientRandom(lua_State *L) {
8510 if (LUAL_BUFFERSIZE < len) 8510 if (LUAL_BUFFERSIZE < len)
8511 luaL_error(L, "ssl:getClientRandom: LUAL_BUFFERSIZE(%d) < SSL_get_client_random(ssl, NULL, 0)", (int)LUAL_BUFFERSIZE, (int)len); 8511 luaL_error(L, "ssl:getClientRandom: LUAL_BUFFERSIZE(%d) < SSL_get_client_random(ssl, NULL, 0)", (int)LUAL_BUFFERSIZE, (int)len);
8512 luaL_buffinit(L, &B); 8512 luaL_buffinit(L, &B);
8513 out = luaL_prepbuffer(&B); 8513 out = (unsigned char*)luaL_prepbuffer(&B);
8514 len = SSL_get_client_random(ssl, out, len); 8514 len = SSL_get_client_random(ssl, out, len);
8515 luaL_addsize(&B, len); 8515 luaL_addsize(&B, len);
8516 luaL_pushresult(&B); 8516 luaL_pushresult(&B);