From a7b387d9aab1503c6988ddf427b92a3b70c4c481 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 7 Apr 2023 14:34:34 +0100 Subject: [PATCH] [Minor] Fix openssl invocation --- src/lua/lua_rsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/lua_rsa.c b/src/lua/lua_rsa.c index 34173e4b1..85d5f8745 100644 --- a/src/lua/lua_rsa.c +++ b/src/lua/lua_rsa.c @@ -272,7 +272,7 @@ lua_rsa_pubkey_tostring (lua_State *L) return luaL_error(L, "i2d_RSA_PUBKEY_bio failed"); } - publen = BIO_get_mem_ptr (pubout, &pubdata); + publen = BIO_get_mem_data(pubout, &pubdata); lua_pushlstring(L, pubdata, publen); BIO_free(pubout); } -- 2.39.5