From 61d1f394cc82960f02e7714ff2e4c516602ae96a Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 26 Oct 2025 16:22:42 +0900 Subject: [PATCH] openssl-util: drop unused fake type definitions when OpenSSL is disabled --- src/shared/openssl-util.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/shared/openssl-util.h b/src/shared/openssl-util.h index f7f452cead3..21b0e66fc1b 100644 --- a/src/shared/openssl-util.h +++ b/src/shared/openssl-util.h @@ -181,10 +181,7 @@ static inline int string_hashsum_sha256(const char *s, size_t len, char **ret) { typedef struct X509 X509; typedef struct EVP_PKEY EVP_PKEY; -typedef struct EVP_MD EVP_MD; typedef struct UI_METHOD UI_METHOD; -typedef struct ASN1_TYPE ASN1_TYPE; -typedef struct ASN1_STRING ASN1_STRING; static inline void* X509_free(X509 *p) { assert(p == NULL);