blob: 45b581e5a7052b67329f85c9ed34fc3aa679e098 [file] [edit]
From 96208f2e413d7fddc19e6888be5fbd2acdb04606 Mon Sep 17 00:00:00 2001
From: Peter G <55786000+WatcherOfTheSkies@users.noreply.github.com>
Date: Wed, 30 Sep 2026 12:27:43 +0100
Subject: [PATCH] Remove OpenSSL version check in iperf_auth.c
Removed conditional compilation for OpenSSL version check.
Upstream: https://github.com/esnet/iperf/commit/96208f2e413d7fddc19e6888be5fbd2acdb04606
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
src/iperf_auth.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/iperf_auth.c b/src/iperf_auth.c
index 51d1a1b6e..cf0bd7449 100644
--- a/src/iperf_auth.c
+++ b/src/iperf_auth.c
@@ -380,11 +380,9 @@ int decrypt_rsa_message(const unsigned char *encryptedtext, const int encryptedt
return plaintext_len;
-#if OPENSSL_VERSION_MAJOR >= 3
errreturn:
fprintf(stderr, "%s\n", ERR_error_string(ERR_get_error(), NULL));
return 0;
-#endif
}
int encode_auth_setting(const char *username, const char *password, EVP_PKEY *public_key, char **authtoken, int use_pkcs1_padding){