mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
BigInteger: make constructor catch behave same as setEngine
This commit is contained in:
parent
256ffcca7b
commit
03e15a5ab9
@ -137,8 +137,7 @@ class BigInteger implements \Serializable
|
||||
try {
|
||||
self::setEngine($engine[0], isset($engine[1]) ? $engine[1] : []);
|
||||
break;
|
||||
} catch (\InvalidArgumentException $e) {
|
||||
} catch (BadConfigurationException $e) {
|
||||
} catch (\Exception $e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user