/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos

  • Committer: Teddy Hogeborn
  • Date: 2021-02-03 10:35:45 UTC
  • mfrom: (237.4.136 release)
  • Revision ID: teddy@recompile.se-20210203103545-fkhhqnfu4gxx4c1j
Merge from release branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
661
661
            raise gnutls.CertificateSecurityError(code=result)
662
662
        raise gnutls.Error(code=result)
663
663
 
664
 
    def _retry_on_error(result, func, arguments,
665
 
                        _error_code=_error_code):
 
664
    def _retry_on_error(result, func, arguments):
666
665
        """A function to retry on some errors, suitable
667
666
        for the 'errcheck' attribute on ctypes functions"""
668
667
        while result < 0: