Initial bcrypt support

This commit is contained in:
prez
2019-09-16 20:54:56 +02:00
committed by Serge Hallyn
parent 38f493aff2
commit 2958bd050b
10 changed files with 374 additions and 64 deletions

View File

@@ -268,6 +268,9 @@ static /*@observer@*//*@null@*/const char *obscure_msg (
#ifdef USE_SHA_CRYPT
|| (strcmp (result, "SHA256") == 0)
|| (strcmp (result, "SHA512") == 0)
#endif
#ifdef USE_BCRYPT
|| (strcmp (result, "BCRYPT") == 0)
#endif
) {
return NULL;