summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/openssl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openssl.c b/src/openssl.c
index 15749c9..0a6c996 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -1299,7 +1299,7 @@ static int xn_add(lua_State *L) {
1299 if (!ok) 1299 if (!ok)
1300 return throwssl(L, "x509.name:add"); 1300 return throwssl(L, "x509.name:add");
1301 1301
1302 lua_pushboolean(L, 1); 1302 lua_pushvalue(L, 1);
1303 1303
1304 return 1; 1304 return 1;
1305} /* xn_add() */ 1305} /* xn_add() */
@@ -1579,7 +1579,7 @@ text:
1579 1579
1580 sk_GENERAL_NAME_push(gens, gen); 1580 sk_GENERAL_NAME_push(gens, gen);
1581 1581
1582 lua_pushboolean(L, 1); 1582 lua_pushvalue(L, 1);
1583 1583
1584 return 1; 1584 return 1;
1585error: 1585error:
@@ -2877,7 +2877,7 @@ static int xl_add(lua_State *L) {
2877 return throwssl(L, "x509.chain:add"); 2877 return throwssl(L, "x509.chain:add");
2878 } 2878 }
2879 2879
2880 lua_pushboolean(L, 1); 2880 lua_pushvalue(L, 1);
2881 2881
2882 return 1; 2882 return 1;
2883} /* xl_add() */ 2883} /* xl_add() */
@@ -3012,7 +3012,7 @@ static int xs_add(lua_State *L) {
3012 } 3012 }
3013 } 3013 }
3014 3014
3015 lua_pushboolean(L, 1); 3015 lua_pushvalue(L, 1);
3016 3016
3017 return 1; 3017 return 1;
3018} /* xs_add() */ 3018} /* xs_add() */