~stepankk/pyopenssl/bug-845445

« back to all changes in this revision

Viewing changes to leakcheck/crypto.py

  • Committer: Jean-Paul Calderone
  • Date: 2011-09-14 15:10:29 UTC
  • mto: This revision was merged to the branch mainline in revision 161.
  • Revision ID: exarkun@divmod.com-20110914151029-uzbveasn1fd1jwjx
The callback exception now propagates, yay

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
                load_privatekey(
98
98
                    FILETYPE_PEM, self.ENCRYPTED_PEM,
99
99
                    lambda *args: {})
100
 
            except Error:
 
100
            except ValueError:
101
101
                pass
102
102
 
103
103