mirror of
https://github.com/danog/tgseclib.git
synced 2025-01-22 05:51:20 +01: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…
x
Reference in New Issue
Block a user