Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/netpgp/dist/bindings/lua Ut...



details:   https://anonhg.NetBSD.org/src/rev/a459dcc895b1
branches:  trunk
changeset: 318575:a459dcc895b1
user:      sevan <sevan%NetBSD.org@localhost>
date:      Sun Apr 29 19:28:11 2018 +0000
description:
Utilise the passed output filename rather that using a hardcoded name

diffstat:

 crypto/external/bsd/netpgp/dist/bindings/lua/glue.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f2c3e8e6fb4a -r a459dcc895b1 crypto/external/bsd/netpgp/dist/bindings/lua/glue.c
--- a/crypto/external/bsd/netpgp/dist/bindings/lua/glue.c       Sun Apr 29 19:01:15 2018 +0000
+++ b/crypto/external/bsd/netpgp/dist/bindings/lua/glue.c       Sun Apr 29 19:28:11 2018 +0000
@@ -161,7 +161,7 @@
        }
        armour = findtype(armourtypes, luaL_checkstring(L, 4));
        ret = netpgp_encrypt_file(netpgp, netpgp_getvar(netpgp, "userid"),
-                               f, __UNCONST("a.gpg"), armour);
+                               f, __UNCONST(output), armour);
        lua_pushnumber(L, ret);
        return 1;
 }



Home | Main Index | Thread Index | Old Index