summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2000-08-23 11:54:10 +0000
committerasmodai <asmodai@FreeBSD.org>2000-08-23 11:54:10 +0000
commit33139c1c7f873258535ded09525c53b413df62b9 (patch)
tree864ace0420864b72534ed9d63b092b3849f6a8bc /lib/libutil
parent3226a5dc26ee7ca0774cf6ffbbf442fa0d75ff5e (diff)
downloadFreeBSD-src-33139c1c7f873258535ded09525c53b413df62b9.zip
FreeBSD-src-33139c1c7f873258535ded09525c53b413df62b9.tar.gz
Add weak symbol pragma for crypt_set_format().
Approved by: green
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/login_crypt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libutil/login_crypt.c b/lib/libutil/login_crypt.c
index fd21c9b..b291100 100644
--- a/lib/libutil/login_crypt.c
+++ b/lib/libutil/login_crypt.c
@@ -31,6 +31,12 @@
#include <login_cap.h>
#include <unistd.h>
+#pragma weak crypt_set_format
+int
+crypt_set_format(const char *f) {
+ return (0);
+}
+
const char *
login_setcryptfmt(login_cap_t *lc, const char *def, const char *error) {
const char *cipher;
OpenPOWER on IntegriCloud