Add weak symbol pragma for crypt_set_format().
Approved by: green
This commit is contained in:
parent
4eb207a1ae
commit
de4b2114a4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65025
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user