blob: a6be34361e77008b19377c421932345cb2394e2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- 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*/
|