resolve: sort headers
This commit is contained in:
parent
cad8d67194
commit
72938b9309
|
@ -4,11 +4,11 @@
|
||||||
#error This source file requires DNS-over-TLS to be enabled and GnuTLS to be available.
|
#error This source file requires DNS-over-TLS to be enabled and GnuTLS to be available.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "resolved-dnstls.h"
|
|
||||||
#include "resolved-dns-stream.h"
|
|
||||||
|
|
||||||
#include <gnutls/socket.h>
|
#include <gnutls/socket.h>
|
||||||
|
|
||||||
|
#include "resolved-dns-stream.h"
|
||||||
|
#include "resolved-dnstls.h"
|
||||||
|
|
||||||
DEFINE_TRIVIAL_CLEANUP_FUNC(gnutls_session_t, gnutls_deinit);
|
DEFINE_TRIVIAL_CLEANUP_FUNC(gnutls_session_t, gnutls_deinit);
|
||||||
|
|
||||||
static ssize_t dnstls_stream_writev(gnutls_transport_ptr_t p, const giovec_t *iov, int iovcnt) {
|
static ssize_t dnstls_stream_writev(gnutls_transport_ptr_t p, const giovec_t *iov, int iovcnt) {
|
||||||
|
|
|
@ -5,9 +5,8 @@
|
||||||
#error This source file requires DNS-over-TLS to be enabled and GnuTLS to be available.
|
#error This source file requires DNS-over-TLS to be enabled and GnuTLS to be available.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdbool.h>
|
|
||||||
|
|
||||||
#include <gnutls/gnutls.h>
|
#include <gnutls/gnutls.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
struct DnsTlsServerData {
|
struct DnsTlsServerData {
|
||||||
gnutls_certificate_credentials_t cert_cred;
|
gnutls_certificate_credentials_t cert_cred;
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
#error This source file requires DNS-over-TLS to be enabled and OpenSSL to be available.
|
#error This source file requires DNS-over-TLS to be enabled and OpenSSL to be available.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "resolved-dnstls.h"
|
|
||||||
#include "resolved-dns-stream.h"
|
|
||||||
|
|
||||||
#include <openssl/bio.h>
|
#include <openssl/bio.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
|
|
||||||
|
#include "resolved-dns-stream.h"
|
||||||
|
#include "resolved-dnstls.h"
|
||||||
|
|
||||||
DEFINE_TRIVIAL_CLEANUP_FUNC(SSL*, SSL_free);
|
DEFINE_TRIVIAL_CLEANUP_FUNC(SSL*, SSL_free);
|
||||||
DEFINE_TRIVIAL_CLEANUP_FUNC(BIO*, BIO_free);
|
DEFINE_TRIVIAL_CLEANUP_FUNC(BIO*, BIO_free);
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,8 @@
|
||||||
#error This source file requires DNS-over-TLS to be enabled and OpenSSL to be available.
|
#error This source file requires DNS-over-TLS to be enabled and OpenSSL to be available.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdbool.h>
|
|
||||||
|
|
||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
struct DnsTlsServerData {
|
struct DnsTlsServerData {
|
||||||
SSL_CTX *ctx;
|
SSL_CTX *ctx;
|
||||||
|
|
Loading…
Reference in a new issue