Revision 3d0efa15
Added by koszko about 2 years ago
common/misc.js | ||
---|---|---|
56 | 56 |
function extract_signed(signature, data, times) |
57 | 57 |
{ |
58 | 58 |
const now = new Date(); |
59 |
times ||= [[now], [now, -1]];
|
|
59 |
times = times || [[now], [now, -1]];
|
|
60 | 60 |
|
61 | 61 |
const reductor = |
62 | 62 |
(ok, time) => ok || signature === sign_data(data, ...time); |
Also available in: Unified diff
remove unneeded policy-related cosole messages; restore IceCat 60 compatibility