aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iperf3/patches/100-iperf_auth-rsa-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/iperf3/patches/100-iperf_auth-rsa-header.patch')
-rw-r--r--package/network/utils/iperf3/patches/100-iperf_auth-rsa-header.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/network/utils/iperf3/patches/100-iperf_auth-rsa-header.patch b/package/network/utils/iperf3/patches/100-iperf_auth-rsa-header.patch
new file mode 100644
index 0000000000..fa78d91b17
--- /dev/null
+++ b/package/network/utils/iperf3/patches/100-iperf_auth-rsa-header.patch
@@ -0,0 +1,17 @@
+commit 31d5b6b580a356c5149dbc4f53118b7f83c60822
+Author: Philip Prindeville <philipp@redfish-solutions.com>
+Date: Sun Jul 30 18:54:46 2017 -0600
+Subject: Add required RSA header for OpenSSL
+
+Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
+
+--- a/src/iperf_auth.c 2017-06-26 11:42:56.000000000 -0600
++++ b/src/iperf_auth.c 2017-07-30 17:42:43.070447875 -0600
+@@ -40,6 +40,7 @@
+ #include <openssl/pem.h>
+ #include <openssl/sha.h>
+ #include <openssl/buffer.h>
++#include <openssl/rsa.h>
+
+ void sha256(const char *string, char outputBuffer[65])
+ {