Include x509.h in tortls_internal.h.

This gives us the definition of tor_x509_cert_impl_t, and makes us
less dependent on include order.
This commit is contained in:
Nick Mathewson 2019-12-16 12:58:58 -05:00
parent b1dceeca5a
commit 8bb686d8a0

View file

@ -11,6 +11,8 @@
#ifndef TORTLS_INTERNAL_H
#define TORTLS_INTERNAL_H
#include "lib/tls/x509.h"
int tor_errno_to_tls_error(int e);
#ifdef ENABLE_OPENSSL
int tor_tls_get_error(tor_tls_t *tls, int r, int extra,