blob: aec877fcbaddcd752021a59a733c866bb6974dcf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
--- nessus/preferences.c.orig Sat Nov 13 18:06:16 1999
+++ nessus/preferences.c Tue Nov 30 20:49:15 1999
@@ -24,7 +24,7 @@
#include "globals.h"
#include "nessus.h"
#ifdef ENABLE_CRYPTO_LAYER
-#include <peks.h>
+#include "peks/peks.h"
#endif
static int preferences_new();
@@ -60,15 +60,6 @@
static char *
preferences_get_filename()
{
-#ifdef ENABLE_CRYPTO_LAYER
- char *t, *s = peks_get_dirfile (NESSUS_RCFILE);
- if (s == 0)
- return 0 ;
- /* peks uses another memory management */
- t = estrdup (s);
- xfree (s);
- return t;
-#else
char* home;
char * ret;
struct passwd * pwd;
@@ -88,7 +79,6 @@
return(ret);
}
return(NULL);
-#endif
}
static int preferences_new()
|