summaryrefslogtreecommitdiff
path: root/krl.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-01-15 02:21:31 +1100
committerDamien Miller <djm@mindrot.org>2015-01-15 02:28:36 +1100
commit72ef7c148c42db7d5632a29f137f8b87b579f2d9 (patch)
tree47954a387f4260cc8b1e0ff33bbbaf22fd6f11fc /krl.c
parent4f38c61c68ae7e3f9ee4b3c38bc86cd39f65ece9 (diff)
support --without-openssl at configure time
Disables and removes dependency on OpenSSL. Many features don't work and the set of crypto options is greatly restricted. This will only work on system with native arc4random or /dev/urandom. Considered highly experimental for now.
Diffstat (limited to 'krl.c')
-rw-r--r--krl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/krl.c b/krl.c
index 3917338f9..b19def79f 100644
--- a/krl.c
+++ b/krl.c
@@ -18,6 +18,8 @@
18 18
19#include "includes.h" 19#include "includes.h"
20 20
21#ifdef WITH_OPENSSL /* XXX just fix bignums and this is good */
22
21#include <sys/types.h> 23#include <sys/types.h>
22#include <sys/param.h> 24#include <sys/param.h>
23#include <openbsd-compat/sys-tree.h> 25#include <openbsd-compat/sys-tree.h>
@@ -1282,3 +1284,4 @@ ssh_krl_file_contains_key(const char *path, const struct sshkey *key)
1282 errno = oerrno; 1284 errno = oerrno;
1283 return r; 1285 return r;
1284} 1286}
1287#endif /* WITH_OPENSSL */