FreeBSD Bugzilla – Attachment 201930 Details for
Bug 232969
emulators/virtualbox-ose: fails to link rdesktop-vrdp: undefined symbol: SSL|BN|HMAC_*
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch without private changes
virtualbox-ose_libressl.patch (text/plain), 2.34 KB, created by
Ivan Rozhuk
on 2019-02-11 12:25:21 UTC
(
hide
)
Description:
patch without private changes
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2019-02-11 12:25:21 UTC
Size:
2.34 KB
patch
obsolete
>Index: emulators/virtualbox-ose/files/patch-src_VBox_RDP_client-1.8.4_ssl.c >=================================================================== >--- emulators/virtualbox-ose/files/patch-src_VBox_RDP_client-1.8.4_ssl.c (nonexistent) >+++ emulators/virtualbox-ose/files/patch-src_VBox_RDP_client-1.8.4_ssl.c (working copy) >@@ -0,0 +1,35 @@ >+--- src/VBox/RDP/client-1.8.4/ssl.c.orig 2019-01-25 21:31:48.000000000 +0300 >++++ src/VBox/RDP/client-1.8.4/ssl.c 2019-02-11 12:38:31.251992000 +0300 >+@@ -97,7 +97,7 @@ >+ rdssl_rsa_encrypt(uint8 * out, uint8 * in, int len, uint32 modulus_size, uint8 * modulus, >+ uint8 * exponent) >+ { >+-#if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) >++#if OPENSSL_VERSION_NUMBER >= 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) >+ BN_CTX *ctx; >+ BIGNUM *mod, *exp, *x, *y; >+ uint8 inr[SEC_MAX_MODULUS_SIZE]; >+@@ -128,7 +128,7 @@ >+ BN_free(exp); >+ BN_free(mod); >+ BN_CTX_free(ctx); >+-#else /* OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) */ >++#else >+ BN_CTX *ctx; >+ BIGNUM mod, exp, x, y; >+ uint8 inr[SEC_MAX_MODULUS_SIZE]; >+@@ -316,12 +316,12 @@ >+ rdssl_hmac_md5(const void *key, int key_len, const unsigned char *msg, int msg_len, >+ unsigned char *md) >+ { >+-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) >++#if OPENSSL_VERSION_NUMBER < 0x10100000 || !defined(LIBRESSL_VERSION_NUMBER) >+ HMAC_CTX ctx; >+ HMAC_CTX_init(&ctx); >+ #endif >+ HMAC(EVP_md5(), key, key_len, msg, msg_len, md, NULL); >+-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) >++#if OPENSSL_VERSION_NUMBER < 0x10100000 || !defined(LIBRESSL_VERSION_NUMBER) >+ HMAC_CTX_cleanup(&ctx); >+ #endif >+ } >Index: emulators/virtualbox-ose/files/patch-src_VBox_RDP_client-1.8.4_tcp.c >=================================================================== >--- emulators/virtualbox-ose/files/patch-src_VBox_RDP_client-1.8.4_tcp.c (nonexistent) >+++ emulators/virtualbox-ose/files/patch-src_VBox_RDP_client-1.8.4_tcp.c (working copy) >@@ -0,0 +1,13 @@ >+--- src/VBox/RDP/client-1.8.4/tcp.c.orig 2019-01-25 21:31:48.000000000 +0300 >++++ src/VBox/RDP/client-1.8.4/tcp.c 2019-02-11 12:39:02.556043000 +0300 >+@@ -311,8 +311,10 @@ >+ >+ if (!g_ssl_initialized) >+ { >++#ifndef LIBRESSL_VERSION_NUMBER >+ SSL_load_error_strings(); >+ SSL_library_init(); >++#endif >+ g_ssl_initialized = True; >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
rozhuk.im
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 232969
:
200568
|
200569
|
200668
|
201101
|
201925
| 201930 |
205167
|
206853