summaryrefslogtreecommitdiff
path: root/openbsd-compat/readpassphrase.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-10-19 03:23:16 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-10-19 03:23:16 +1100
commitf901440cc844062c9bab0183d133f7ccc58ac3a5 (patch)
treeb71988090a673d5025be2fec1ccad7deb426f65f /openbsd-compat/readpassphrase.c
parent032147b69527e5448a511049b2d43dbcae582624 (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.c3
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 *