diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /security/gvm-libs/files/patch-util_passwordbasedauthentication.c | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'security/gvm-libs/files/patch-util_passwordbasedauthentication.c')
| -rw-r--r-- | security/gvm-libs/files/patch-util_passwordbasedauthentication.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/security/gvm-libs/files/patch-util_passwordbasedauthentication.c b/security/gvm-libs/files/patch-util_passwordbasedauthentication.c index 6838446064ad..55e4d62a57a8 100644 --- a/security/gvm-libs/files/patch-util_passwordbasedauthentication.c +++ b/security/gvm-libs/files/patch-util_passwordbasedauthentication.c @@ -1,6 +1,6 @@ ---- util/passwordbasedauthentication.c 2021-08-03 06:50:41.000000000 -0500 -+++ util/passwordbasedauthentication.c 2021-09-04 20:54:26.630524000 -0500 -@@ -26,7 +26,13 @@ +--- util/passwordbasedauthentication.c 2025-10-01 02:22:47.000000000 -0700 ++++ util/passwordbasedauthentication.c 2025-10-07 22:23:18.428502000 -0700 +@@ -14,7 +14,13 @@ // UFC_crypt defines crypt_r when only when __USE_GNU is set // this shouldn't affect other implementations #define __USE_GNU @@ -14,16 +14,19 @@ // INVALID_HASH is used on verify when the given hash is a NULL pointer. // This is done to not directly jump to exit with a INVALID_HASH result // but rather keep calculating to make it a little bit harder to guess -@@ -173,6 +179,7 @@ +@@ -208,6 +214,7 @@ return strlen (setting) > 1 && setting[0] == '$'; } +#if HAS_CRYPT_R - char * - pba_hash (struct PBASettings *setting, const char *password) - { -@@ -276,3 +283,4 @@ - free (tmp); + /** + * @brief Create a password hash. + * +@@ -262,6 +269,7 @@ + free (settings); return result; } +#endif /* #if HAS_CRYPT_R */ + + /** + * @brief Verify a password hash. |
