Add sanity checks to random integer generation
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 19 Sep 2021 09:07:47 +0000 (11:07 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 19 Sep 2021 09:07:47 +0000 (11:07 +0200)
commita3868ec4e6c4782ba51066ddbba74f9730dbba19
treea2e9cfbd4413271b515e572c240de84362eb3a11
parentb322b8b4712bd412ea2d1e27924dcc6f1bb08c63
Add sanity checks to random integer generation

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
src/utils/Utils.ts