diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-09-24 09:25:16 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-09-24 09:25:16 +0100 |
commit | 635f02770eec0a11440f77650834fead025dd684 (patch) | |
tree | ae49277a867d319385ad0c07d291a1880d43ab5f /src | |
parent | ce5734e30235c3bac45a700ca7a245e4439a2efd (diff) | |
download | rspamd-635f02770eec0a11440f77650834fead025dd684.tar.gz rspamd-635f02770eec0a11440f77650834fead025dd684.zip |
[Minor] Use portable macro for old OpenSSLvstakhov-ssl-fixes
Diffstat (limited to 'src')
-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 d797e3c19..4b9aa0354 100644 --- a/src/lua/lua_rsa.c +++ b/src/lua/lua_rsa.c @@ -760,7 +760,7 @@ lua_rsa_sign_memory(lua_State *L) data = luaL_checklstring(L, 2, &sz); if (pkey != NULL && data != NULL) { - signature = rspamd_fstring_sized_new(EVP_PKEY_get_size(pkey)); + signature = rspamd_fstring_sized_new(EVP_PKEY_size(pkey)); EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new(pkey, NULL); g_assert(pctx != NULL); |