Skip to content

Commit 61c0d85

Browse files
- Fixing sonar issue
1 parent a458a42 commit 61c0d85

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

client_encryption/session_key_params.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ def __unwrap_secret_key(encrypted_key, config, _hash):
104104

105105
if type(config) is FieldLevelEncryptionConfig:
106106
encrypted_key = decode_value(encrypted_key, config.data_encoding)
107-
else:
108-
encrypted_key = encrypted_key
109107

110108
_cipher = PKCS1_OAEP.new(key=config.decryption_key,
111109
hashAlgo=hash_algo)

0 commit comments

Comments
 (0)