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 /src | |
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
Diffstat (limited to 'src')
-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: | |||
3630 | sk_X509_free(ca); | 3630 | sk_X509_free(ca); |
3631 | 3631 | ||
3632 | if (no_kcert) | 3632 | if (no_kcert) |
3633 | luaL_argerror(L, 1, lua_pushstring(L, "certificate matching the key not found")); | 3633 | luaL_argerror(L, 1, lua_pushfstring(L, "certificate matching the key not found")); |
3634 | 3634 | ||
3635 | return throwssl(L, "pkcs12.new"); | 3635 | return throwssl(L, "pkcs12.new"); |
3636 | } /* p12_new() */ | 3636 | } /* p12_new() */ |