diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2021-07-09 13:31:40 -0500 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2021-07-09 13:35:54 -0500 |
commit | 0f287ecd25926953722f8bc83df9c623c1bade76 (patch) | |
tree | b25bf48c092551de94da89dbca72c23f2b33907f /security/gvm-libs/files/patch-util_passwordbasedauthentication.c | |
parent | www/yarr: Add new port (diff) |
security/gvm: update to 21.4.1
The following ports part of security gvm were updated
security/gvmd: Update to 21.4.2
security/gvm-libs: Update to 21.4.1
security/openvas: Update to 21.4.1
security/py-ospd-openvas: Update to 21.4.1
security/py-ospd: Update to 21.4.1
security/greenbone-security-assistant: Update to 21.4.1
security/py-python-gvm: Update to 21.6.0
security/py-gvm-tools: Update to 21.6.1
Diffstat (limited to 'security/gvm-libs/files/patch-util_passwordbasedauthentication.c')
-rw-r--r-- | security/gvm-libs/files/patch-util_passwordbasedauthentication.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/security/gvm-libs/files/patch-util_passwordbasedauthentication.c b/security/gvm-libs/files/patch-util_passwordbasedauthentication.c new file mode 100644 index 000000000000..7f58b15edbae --- /dev/null +++ b/security/gvm-libs/files/patch-util_passwordbasedauthentication.c @@ -0,0 +1,14 @@ +--- util/passwordbasedauthentication.c 2021-07-08 17:07:24.145438000 -0500 ++++ util/passwordbasedauthentication.c 2021-07-08 17:08:24.809605000 -0500 +@@ -26,7 +26,11 @@ + // UFC_crypt defines crypt_r when only when __USE_GNU is set + // this shouldn't affect other implementations + #define __USE_GNU ++#if defined(__FreeBSD__) ++#include <unistd.h> ++#else + #include <crypt.h> ++#endif + // 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 |