aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/identity.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index 78c4a4aed..c25a3da43 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -84,6 +84,7 @@ function create_sys_channel() {
// Ensure that there is a host keypair.
if((! get_config('system','pubkey')) && (! get_config('system','prvkey'))) {
+ require_once('include/crypto.php');
$hostkey = new_keypair(4096);
set_config('system','pubkey',$hostkey['pubkey']);
set_config('system','prvkey',$hostkey['prvkey']);