safe

Password protected secret keeper
git clone git://git.z3bra.org/safe.git
Log | Files | Refs | README | LICENSE

commit f6e9536793455014d50e02a8a90eddb186cdfee8
parent 87a1567b9976e01bd34fd4807fe77c1e92b50a49
Author: z3bra <contactatz3bradotorg>
Date:   Fri,  8 Mar 2019 11:26:41 +0100

Rename storepass/showpass functions

Diffstat:
safe.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/safe.c b/safe.c @@ -95,7 +95,7 @@ hash(uint8_t *buf, size_t size, uint8_t *md) } int -storepass(int fd, char *name) +store_secret(int fd, char *name) { int sfd; ssize_t n; @@ -117,7 +117,7 @@ storepass(int fd, char *name) } int -showpass(int fd, char *name) +show_secret(int fd, char *name) { int sfd; ssize_t n; @@ -172,9 +172,9 @@ main(int argc, char *argv[]) secret = argv[0]; if (aflag) { - storepass(STDIN_FILENO, secret); + store_secret(STDIN_FILENO, secret); } else { - showpass(STDOUT_FILENO, secret); + show_secret(STDOUT_FILENO, secret); } return 0;