commit a7b387d: [Minor] Fix openssl invocation
Vsevolod Stakhov
vsevolod at rspamd.com
Fri Apr 7 15:56:06 UTC 2023
Author: Vsevolod Stakhov
Date: 2023-04-07 14:34:34 +0100
URL: https://github.com/rspamd/rspamd/commit/a7b387d9aab1503c6988ddf427b92a3b70c4c481
[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);
}
More information about the Commits
mailing list