From: Vsevolod Stakhov Date: Fri, 7 Apr 2023 13:34:34 +0000 (+0100) Subject: [Minor] Fix openssl invocation X-Git-Tag: 3.6~168 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a7b387d9aab1503c6988ddf427b92a3b70c4c481;p=rspamd.git [Minor] Fix openssl invocation --- 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); }