mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 10:30:47 +00:00
Rebuild to fix OpenSSL issues
This commit is contained in:
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
||||
moonlight-embedded (2.4.0-2jessie1) RELEASED; urgency=medium
|
||||
|
||||
* Fix for OpenSSL patch
|
||||
|
||||
-- Iwan Timmer <irtimmer@gmail.com> Wed, 14 Jun 2017 16:49:26 +0000
|
||||
|
||||
moonlight-embedded (2.4.0-1jessie1) RELEASED; urgency=medium
|
||||
|
||||
* Update to version 2.4.0
|
||||
|
||||
43
debian/patches/openssl.patch
vendored
43
debian/patches/openssl.patch
vendored
@@ -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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
-#include <openssl/crypto.h>
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/conf.h>
|
||||
#include <openssl/pkcs12.h>
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user