diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-14 10:45:28 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-14 10:45:28 +0000 |
commit | 0487b68f110fa292916e43ca578eef61c7c89fdf (patch) | |
tree | 6cb8e845adf73be06b8380eb9d5c6d6e8665ac68 /lib/libc/gen | |
parent | 24044e57bca88fb40cc7d16c630b2467e6ef69b8 (diff) |
Wrap <readpassphrase.h> so internal calls go direct and readpassphrase is weak
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/readpassphrase.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/readpassphrase.c b/lib/libc/gen/readpassphrase.c index 6854617591c..3837b0881de 100644 --- a/lib/libc/gen/readpassphrase.c +++ b/lib/libc/gen/readpassphrase.c @@ -1,4 +1,4 @@ -/* $OpenBSD: readpassphrase.c,v 1.24 2013/11/24 23:51:29 deraadt Exp $ */ +/* $OpenBSD: readpassphrase.c,v 1.25 2015/09/14 10:45:27 guenther Exp $ */ /* * Copyright (c) 2000-2002, 2007, 2010 @@ -171,6 +171,7 @@ restart: errno = save_errno; return(nr == -1 ? NULL : buf); } +DEF_WEAK(readpassphrase); char * getpass(const char *prompt) |