summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-03 15:28:42 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-03 15:28:42 +0200
commit373d1c5e9f4c85e86a0ac1b53b3e54a0d9cdf06e (patch)
tree6b7027fb5bf00d8e7d5d18875e9190ff9f82e062 /core
parentd64cacec438e379a39fd2e791020f417b3737d9b (diff)
parentdbbdcff862663373711d968821bb79a10aeb52a6 (diff)
downloadnextcloud-server-373d1c5e9f4c85e86a0ac1b53b3e54a0d9cdf06e.tar.gz
nextcloud-server-373d1c5e9f4c85e86a0ac1b53b3e54a0d9cdf06e.zip
Merge pull request #10642 from owncloud/securityutils
Add some security utilities
Diffstat (limited to 'core')
-rw-r--r--core/setup/controller.php1
-rw-r--r--core/templates/installation.php7
2 files changed, 0 insertions, 8 deletions
diff --git a/core/setup/controller.php b/core/setup/controller.php
index 91b90e0adef..5da94e83ccc 100644
--- a/core/setup/controller.php
+++ b/core/setup/controller.php
@@ -153,7 +153,6 @@ class Controller {
'hasMSSQL' => $hasMSSQL,
'databases' => $databases,
'directory' => $datadir,
- 'secureRNG' => \OC_Util::secureRNGAvailable(),
'htaccessWorking' => $htaccessWorking,
'vulnerableToNullByte' => $vulnerableToNullByte,
'errors' => $errors,
diff --git a/core/templates/installation.php b/core/templates/installation.php
index f934e3a86c2..b74d4caf107 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -27,13 +27,6 @@
<?php p($l->t('Please update your PHP installation to use %s securely.', $theme->getName() )); ?></p>
</fieldset>
<?php endif; ?>
- <?php if(!$_['secureRNG']): ?>
- <fieldset class="warning">
- <legend><strong><?php p($l->t('Security Warning'));?></strong></legend>
- <p><?php p($l->t('No secure random number generator is available, please enable the PHP OpenSSL extension.'));?><br/>
- <?php p($l->t('Without a secure random number generator an attacker may be able to predict password reset tokens and take over your account.'));?></p>
- </fieldset>
- <?php endif; ?>
<?php if(!$_['htaccessWorking']): ?>
<fieldset class="warning">
<legend><strong><?php p($l->t('Security Warning'));?></strong></legend>