diff options
author | Vladyslav Moisieienkov <vladyslav.moisieienkov@gmail.com> | 2018-06-20 14:21:33 +0200 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2018-06-20 05:21:33 -0700 |
commit | 2d0afd3485a6349924f921d12dc94a302999ae20 (patch) | |
tree | 43ef9d2396ba5ffdbe33cc0903fd4546b7f7fe6c /tests/hazmat/backends | |
parent | d88d721343828accacefca701a3d542365cd6d59 (diff) | |
download | cryptography-2d0afd3485a6349924f921d12dc94a302999ae20.tar.gz cryptography-2d0afd3485a6349924f921d12dc94a302999ae20.tar.bz2 cryptography-2d0afd3485a6349924f921d12dc94a302999ae20.zip |
Add clearer message when key type is not bytes (#4289)
* Add clearer message in Cipher when key is not bytes
* Change location of key type check to verify_key_size function
* Replace formated error message with static
* Add key type check tests to all ciphers constructors
* Change key type error message to lowercase
Diffstat (limited to 'tests/hazmat/backends')
0 files changed, 0 insertions, 0 deletions