aboutsummaryrefslogtreecommitdiff
path: root/src/lib/tls/x509.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-23 13:05:38 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-04 14:52:35 -0400
commit02086a216f15fd8c45e603a8d9bab482f60753f4 (patch)
tree822c18c155166da9de951e511f4cde5db49ca254 /src/lib/tls/x509.c
parentb5fddbd24144a94580e50886cd07a82968a1b86c (diff)
downloadtor-02086a216f15fd8c45e603a8d9bab482f60753f4.tar.gz
tor-02086a216f15fd8c45e603a8d9bab482f60753f4.zip
Remove tor_x509_get_cert_impl as unneeded.
Diffstat (limited to 'src/lib/tls/x509.c')
-rw-r--r--src/lib/tls/x509.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/tls/x509.c b/src/lib/tls/x509.c
index d2270f9108..cff1c1302c 100644
--- a/src/lib/tls/x509.c
+++ b/src/lib/tls/x509.c
@@ -52,14 +52,6 @@ tor_tls_pick_certificate_lifetime(time_t now,
*end_time_out = end_time;
}
-/** Return the underlying implementation for <b>cert</b> */
-const tor_x509_cert_impl_t *
-tor_x509_cert_get_impl(const tor_x509_cert_t *cert)
-{
- tor_assert(cert);
- return cert->cert;
-}
-
/** Return a set of digests for the public key in <b>cert</b>, or NULL if this
* cert's public key is not one we know how to take the digest of. */
const common_digests_t *