Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10690

Unreachable code in SSL certificate check logic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • Impala 4.0.0
    • None
    • Infrastructure
    • None

    Description

      Hi, 

      There is an unreachable branch in `TSSLSocketWithWildcardSAN #73`s

      ```

      1. Line73: This branch will never be reached
        raise TTransportException(
        type=TTransportException.UNKNOWN,
        message='Could not validate SSL certificate from '
        'host "%s". Cert=%s' % (self.host, cert)) 

      ```

      Can I fix it ?

      Attachments

        Activity

          People

            fifteencai Fifteen
            fifteencai Fifteen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: