summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
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