File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 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):
6666
6767setup (
6868 name = 'pysaml2' ,
69- version = '2.0.0beta ' ,
69+ version = '2.0.0 ' ,
7070 description = 'Python implementation of SAML Version 2 to be used in a WSGI environment' ,
7171 # long_description = read("README"),
7272 author = 'Roland Hedberg' ,
Original file line number Diff line number Diff line change @@ -873,7 +873,9 @@ def verify_attesting_entity(self, address):
873873
874874 correct = 0
875875 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 :
877879 if subject_conf .subject_confirmation_data .address == address :
878880 correct += 1
879881 else :
You can’t perform that action at this time.
0 commit comments