mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 16:21:26 +03:00
resolve: Fix build for cleanup function (SSL_free + BIO_free)
Follow-up of #18616
This commit is contained in:
parent
62875895fa
commit
0e2d092d43
@ -13,8 +13,8 @@
|
|||||||
#include "resolved-dnstls.h"
|
#include "resolved-dnstls.h"
|
||||||
#include "resolved-manager.h"
|
#include "resolved-manager.h"
|
||||||
|
|
||||||
DEFINE_TRIVIAL_CLEANUP_FUNC(SSL*, SSL_free);
|
DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(SSL*, SSL_free, NULL);
|
||||||
DEFINE_TRIVIAL_CLEANUP_FUNC(BIO*, BIO_free);
|
DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(BIO*, BIO_free, NULL);
|
||||||
|
|
||||||
static int dnstls_flush_write_buffer(DnsStream *stream) {
|
static int dnstls_flush_write_buffer(DnsStream *stream) {
|
||||||
ssize_t ss;
|
ssize_t ss;
|
||||||
|
Loading…
Reference in New Issue
Block a user