File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def run_tests(self):
66
66
67
67
setup (
68
68
name = 'pysaml2' ,
69
- version = '2.0.0beta ' ,
69
+ version = '2.0.0 ' ,
70
70
description = 'Python implementation of SAML Version 2 to be used in a WSGI environment' ,
71
71
# long_description = read("README"),
72
72
author = 'Roland Hedberg' ,
Original file line number Diff line number Diff line change @@ -873,7 +873,9 @@ def verify_attesting_entity(self, address):
873
873
874
874
correct = 0
875
875
for subject_conf in self .assertion .subject .subject_confirmation :
876
- if subject_conf .subject_confirmation_data .address :
876
+ if subject_conf .subject_confirmation_data is None :
877
+ correct += 1 # In reality undefined
878
+ elif subject_conf .subject_confirmation_data .address :
877
879
if subject_conf .subject_confirmation_data .address == address :
878
880
correct += 1
879
881
else :
You can’t perform that action at this time.
0 commit comments