diff options
author | friendica <info@friendica.com> | 2014-03-23 18:34:17 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-23 18:34:17 -0700 |
commit | 7575ff11fb06c03364fd0cb15a08e8aebbfc2e41 (patch) | |
tree | 37fe96dfc3ebc24866c267d472d5f509e98448df /include/identity.php | |
parent | 0a5d0d98f8eda3b7e7dbe22e8031d19ea4f00520 (diff) | |
download | volse-hubzilla-7575ff11fb06c03364fd0cb15a08e8aebbfc2e41.tar.gz volse-hubzilla-7575ff11fb06c03364fd0cb15a08e8aebbfc2e41.tar.bz2 volse-hubzilla-7575ff11fb06c03364fd0cb15a08e8aebbfc2e41.zip |
make sure crypto is loaded before creating a keypair
Diffstat (limited to 'include/identity.php')
-rw-r--r-- | include/identity.php | 1 |
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']); |