diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-06-05 08:33:11 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-06-05 08:40:16 +0300 |
commit | d6535be965bc78318cdfd62ea63355c4ecf07f6c (patch) | |
tree | b775097d4b761b14cdb735be2a4214988f3d5c5c | |
parent | 3bdb5b625285d2d924bb61742a2184008608f0dd (diff) | |
download | luaossl-d6535be965bc78318cdfd62ea63355c4ecf07f6c.tar.gz luaossl-d6535be965bc78318cdfd62ea63355c4ecf07f6c.tar.bz2 luaossl-d6535be965bc78318cdfd62ea63355c4ecf07f6c.zip |
pkcs12.new: use lua_pushfstring for Lua 5.1 compatibility
-rw-r--r-- | src/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl.c b/src/openssl.c index 2cdf1d4..2ac14f1 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -3630,7 +3630,7 @@ error: sk_X509_free(ca); if (no_kcert) - luaL_argerror(L, 1, lua_pushstring(L, "certificate matching the key not found")); + luaL_argerror(L, 1, lua_pushfstring(L, "certificate matching the key not found")); return throwssl(L, "pkcs12.new"); } /* p12_new() */ |