GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Alexander Færøy's avatar
    Run `tor_tls_cert_matches_key()` Test Suite with both OpenSSL and NSS. · 33e1c2e6
    Alexander Færøy authored
    This patch lifts the `tor_tls_cert_matches_key()` tests out of the
    OpenSSL specific TLS test suite and moves it into the generic TLS test
    suite that is executed for both OpenSSL and NSS.
    
    This patch is largely a code movement, but we had to rewrite parts of
    the test to avoid using OpenSSL specific data-types (such as `X509 *`)
    and replace it with the generic Tor abstraction type
    (`tor_x509_cert_impl_t *`).
    
    This patch is part of the fix for TROVE-2020-001.
    
    See: https://bugs.torproject.org/33119
    33e1c2e6
test_tortls.c 18.8 KB