]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/resolve/resolved-dnstls-openssl.h
sd-netlink: add functions which manage sd_netlink_slot object
[thirdparty/systemd.git] / src / resolve / resolved-dnstls-openssl.h
index c92d2b2354a4c80bbc3980af0a2867cce628aeb8..f0dccf32e65fa363c67d0cf78d894c6b1e8e9713 100644 (file)
@@ -5,16 +5,17 @@
 #error This source file requires DNS-over-TLS to be enabled and OpenSSL to be available.
 #endif
 
-#include <stdbool.h>
-
 #include <openssl/ssl.h>
+#include <stdbool.h>
 
 struct DnsTlsServerData {
         SSL_CTX *ctx;
+        SSL_SESSION *session;
 };
 
 struct DnsTlsStreamData {
         int handshake;
         bool shutdown;
         SSL *ssl;
+        BUF_MEM *write_buffer;
 };