diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-10-19 03:23:16 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-10-19 03:23:16 +1100 |
commit | f901440cc844062c9bab0183d133f7ccc58ac3a5 (patch) | |
tree | b71988090a673d5025be2fec1ccad7deb426f65f /openbsd-compat/readpassphrase.c | |
parent | 032147b69527e5448a511049b2d43dbcae582624 (diff) |
Import readpassphrase.c rev 1.25.
Wrap <readpassphrase.h> so internal calls go direct and
readpassphrase is weak.
(DEF_WEAK is a no-op in portable.)
Diffstat (limited to 'openbsd-compat/readpassphrase.c')
-rw-r--r-- | openbsd-compat/readpassphrase.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c index c99b4e20..783cc9e6 100644 --- a/openbsd-compat/readpassphrase.c +++ b/openbsd-compat/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 @@ -195,6 +195,7 @@ restart: errno = save_errno; return(nr == -1 ? NULL : buf); } +DEF_WEAK(readpassphrase); #if 0 char * |