diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-04-07 14:34:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-04-07 16:39:21 +0100 |
commit | a7b387d9aab1503c6988ddf427b92a3b70c4c481 (patch) | |
tree | 20e79af2773c88a0b152d00f3c497ff422944258 /src/lua | |
parent | d6c950e5f1d84789980a08fb4cc6093102a004ec (diff) | |
download | rspamd-a7b387d9aab1503c6988ddf427b92a3b70c4c481.tar.gz rspamd-a7b387d9aab1503c6988ddf427b92a3b70c4c481.zip |
[Minor] Fix openssl invocation
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_rsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |