diff options
author | Victor Shyba <victor1984@riseup.net> | 2016-11-25 19:55:36 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-12-12 09:17:51 -0200 |
commit | 1c8e3359734831562fca76b529c0b1f95af565d5 (patch) | |
tree | 99915b72d1c0dad267448fed5bffa42941e36c8a /server/pkg | |
parent | 8b091951e8adebadc4be4dc5b2fb4f8b63c6900e (diff) |
[refactor] Hide IV, simplify some calls
IV was being set during tests and this required some defensive coding to
avoid IV being set in production. This commits makes the test use the
generated IV and "hides" it using a read-only property to let it clear
this should never happen.
Also refactored out some parameters that are generated automatically to
reduce some lines of code and enhance readability.
Diffstat (limited to 'server/pkg')
0 files changed, 0 insertions, 0 deletions