3
0
mirror of https://github.com/snipe/snipe-it.git synced 2025-10-29 11:21:21 +00:00

Merge pull request #18066 from smarsching/issue-18065

Fixed #18065: Ensure that private_key_bits is always an int
This commit is contained in:
snipe 2025-10-20 13:51:42 +01:00 committed by GitHub
commit 4e74c97c84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -109,7 +109,7 @@ class SettingsSamlRequest extends FormRequest
];
$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,
]);