File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -878,7 +878,7 @@ def parse_assertion(self, keys=None):
878
878
resp = samlp .response_from_string (decr_text )
879
879
_enc_assertions = self .decrypt_assertions (resp .encrypted_assertion , decr_text )
880
880
decr_text_old = None
881
- while self .find_encrypt_data (resp ) or self .find_encrypt_data_assertion_list (_enc_assertions ) and \
881
+ while ( self .find_encrypt_data (resp ) or self .find_encrypt_data_assertion_list (_enc_assertions ) ) and \
882
882
decr_text_old != decr_text :
883
883
decr_text_old = decr_text
884
884
decr_text = self .sec .decrypt_keys (decr_text , keys )
@@ -891,6 +891,7 @@ def parse_assertion(self, keys=None):
891
891
if len (all_assertions ) > 0 :
892
892
for tmp_ass in all_assertions :
893
893
if tmp_ass .advice and tmp_ass .advice .encrypted_assertion :
894
+
894
895
advice_res = self .decrypt_assertions (tmp_ass .advice .encrypted_assertion ,
895
896
decr_text ,
896
897
tmp_ass .issuer )
You can’t perform that action at this time.
0 commit comments