mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
The following ports part of security gvm were updated security/gvmd: Update to 21.4.3 security/gvm-libs: Update to 21.4.2 security/openvas: Update to 21.4.2 security/py-ospd-openvas: Update to 21.4.2 security/py-ospd: Update to 21.4.3 security/greenbone-security-assistant: Update to 21.4.2 - Fix build on FreeBSD 11 [1] PR: 257653 Reported by: John Hein <jcfyecrayz _ at _ liamekaens.com> [1]
15 lines
469 B
C
15 lines
469 B
C
--- util/passwordbasedauthentication.h 2021-09-04 20:50:39.448395000 -0500
|
|
+++ util/passwordbasedauthentication.h 2021-09-04 20:50:57.245603000 -0500
|
|
@@ -18,6 +18,12 @@
|
|
#ifndef _GVM_PASSWORDBASEDAUTHENTICATION_H
|
|
#define _GVM_PASSWORDBASEDAUTHENTICATION_H
|
|
|
|
+#if defined(__FreeBSD__) && __FreeBSD__ < 12
|
|
+#define HAS_CRYPT_R 0
|
|
+#else
|
|
+#define HAS_CRYPT_R 1
|
|
+#endif
|
|
+
|
|
/* max amount of applied pepper */
|
|
#define MAX_PEPPER_SIZE 4
|
|
/* is used when count is 0 on init*/
|