From c763be6f00ad9f116bfa8ce823a9a746e6b02060 Mon Sep 17 00:00:00 2001 From: Iwan Timmer Date: Wed, 14 Jun 2017 20:03:13 +0000 Subject: [PATCH] Rebuild to fix OpenSSL issues --- debian/changelog | 6 +++++ debian/patches/openssl.patch | 43 ------------------------------------ 2 files changed, 6 insertions(+), 43 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7ef9181..251ccb3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +moonlight-embedded (2.4.0-2jessie1) RELEASED; urgency=medium + + * Fix for OpenSSL patch + + -- Iwan Timmer Wed, 14 Jun 2017 16:49:26 +0000 + moonlight-embedded (2.4.0-1jessie1) RELEASED; urgency=medium * Update to version 2.4.0 diff --git a/debian/patches/openssl.patch b/debian/patches/openssl.patch index da6d594..8d8f92e 100644 --- a/debian/patches/openssl.patch +++ b/debian/patches/openssl.patch @@ -1,17 +1,3 @@ -diff --git b/libgamestream/mkcert.c a/libgamestream/mkcert.c -index 6dfc1c2..4ced6f6 100644 ---- b/libgamestream/mkcert.c -+++ a/libgamestream/mkcert.c -@@ -103,9 +103,6 @@ int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int years) { - } else { - x = *x509p; - } -- -- if ((rsa = RSA_new()) == NULL) -- goto err; - - BIGNUM* bne = BN_new(); - if (bne == NULL) { diff --git b/libgamestream/client.c a/libgamestream/client.c index bc6c020..2d547ce 100644 --- b/libgamestream/client.c @@ -33,32 +19,3 @@ index bc6c020..2d547ce 100644 memcpy(challenge_response + 16 + 256, client_secret_data, 16); if (server->serverMajorVersion >= 7) SHA256(challenge_response, 16 + 256 + 16, challenge_response_hash); -diff --git b/libgamestream/mkcert.c a/libgamestream/mkcert.c -index e3f6b9e..b0d5e5a 100644 ---- b/libgamestream/mkcert.c -+++ a/libgamestream/mkcert.c -@@ -18,7 +18,6 @@ - #include - #include - --#include - #include - #include - #include -@@ -43,7 +42,7 @@ CERT_KEY_PAIR mkcert_generate() { - CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON); - bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); - -- OpenSSL_add_all_algorithms(); -+ SSLeay_add_all_algorithms(); - ERR_load_crypto_strings(); - - mkcert(&x509, &pkey, NUM_BITS, SERIAL, NUM_YEARS); -@@ -55,6 +54,7 @@ CERT_KEY_PAIR mkcert_generate() { - #endif - CRYPTO_cleanup_all_ex_data(); - -+ CRYPTO_mem_leaks(bio_err); - BIO_free(bio_err); - - return (CERT_KEY_PAIR) {x509, pkey, p12};