diff options
Diffstat (limited to 'app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch')
-rw-r--r-- | app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch b/app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch new file mode 100644 index 000000000000..ea4e606b3db2 --- /dev/null +++ b/app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch @@ -0,0 +1,26 @@ +--- spice-0.13.90-orig/server/reds.c 2017-07-27 01:04:10.000000000 +1000 ++++ spice-0.13.90/server/reds.c 2017-10-18 21:42:12.054934199 +1100 +@@ -34,6 +34,8 @@ + #include <ctype.h> + + #include <openssl/err.h> ++#include <openssl/bn.h> ++#include <openssl/rsa.h> + + #if HAVE_SASL + #include <sasl/sasl.h> +@@ -2795,9 +2797,12 @@ + + static gpointer openssl_global_init(gpointer arg) + { ++#if OPENSSL_VERSION_NUMBER >= 0x10000000L ++ OPENSSL_init_ssl(0, NULL); ++#else + SSL_library_init(); + SSL_load_error_strings(); +- ++#endif + openssl_thread_setup(); + + return NULL; + |