mirror of
https://github.com/snipe/snipe-it.git
synced 2025-10-30 03:42:35 +00:00
Fixed #18065: ensure that private_key_bits is always an int.
This commit is contained in:
parent
9fa38b70c8
commit
71a46c9bd6
@ -109,7 +109,7 @@ class SettingsSamlRequest extends FormRequest
|
|||||||
];
|
];
|
||||||
|
|
||||||
$pkey = openssl_pkey_new([
|
$pkey = openssl_pkey_new([
|
||||||
'private_key_bits' => config('app.saml_key_size'),
|
'private_key_bits' => (int) config('app.saml_key_size'),
|
||||||
'private_key_type' => OPENSSL_KEYTYPE_RSA,
|
'private_key_type' => OPENSSL_KEYTYPE_RSA,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user