summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/certs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/certs.inc b/etc/inc/certs.inc
index 5853c49..9ccd22d 100644
--- a/etc/inc/certs.inc
+++ b/etc/inc/certs.inc
@@ -224,7 +224,7 @@ function csr_generate(& $cert, $keylen, $dn) {
$args = array(
"digest_alg" => "sha1",
- "private_key_bits" => $keylen,
+ "private_key_bits" => (int)$keylen,
"private_key_type" => OPENSSL_KEYTYPE_RSA,
"encrypt_key" => false);
OpenPOWER on IntegriCloud