From d6535be965bc78318cdfd62ea63355c4ecf07f6c Mon Sep 17 00:00:00 2001
From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
Date: Thu, 5 Jun 2014 08:33:11 +0300
Subject: pkcs12.new: use lua_pushfstring for Lua 5.1 compatibility

---
 src/openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

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() */
-- 
cgit v1.2.3-55-g6feb