From c1055871d43562ef16a097747d0c75fede1e7080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Wed, 13 Nov 2024 18:52:30 +0100 Subject: [PATCH] Remove OpenSSL 1.0 for tacd --- CHANGELOG.md | 6 ++++++ tacd/src/openssl_server.rs | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4057d95..6342fbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Changed +- tacd does no longer supports OpenSSL 1.0. + + ## [0.23.0] - 2024-02-10 ### Added diff --git a/tacd/src/openssl_server.rs b/tacd/src/openssl_server.rs index 16ddfe5..7e57d92 100644 --- a/tacd/src/openssl_server.rs +++ b/tacd/src/openssl_server.rs @@ -9,10 +9,7 @@ use std::thread; #[cfg(target_family = "unix")] use std::os::unix::net::UnixListener; -#[cfg(ossl110)] const ALPN_ERROR: AlpnError = AlpnError::ALERT_FATAL; -#[cfg(not(ossl110))] -const ALPN_ERROR: AlpnError = AlpnError::NOACK; macro_rules! listen_and_accept { ($lt: ident, $addr: ident, $acceptor: ident) => {