FreeBSD Bugzilla – Attachment 192995 Details for
Bug 227178
databases/mysql56-server: Fix build with OpenSSL 1.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mysql-PR227178-A192059-mysys.ssl.patch
mysql-PR227178-A192059-mysys.ssl.patch (text/plain), 777 bytes, created by
gessel
on 2018-05-02 13:14:03 UTC
(
hide
)
Description:
mysql-PR227178-A192059-mysys.ssl.patch
Filename:
MIME Type:
Creator:
gessel
Created:
2018-05-02 13:14:03 UTC
Size:
777 bytes
patch
obsolete
>--- vio/viosslfactories.c.orig 2017-12-09 07:33:37 UTC >+++ vio/viosslfactories.c >@@ -68,13 +68,20 @@ static DH *get_dh2048(void) > DH *dh; > if ((dh=DH_new())) > { >- dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL); >- dh->g=BN_bin2bn(dh2048_g,sizeof(dh2048_g),NULL); >- if (! dh->p || ! dh->g) >- { >+ BIGNUM *p= BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL); >+ BIGNUM *g= BN_bin2bn(dh2048_g,sizeof(dh2048_g),NULL); >+ if (!p || !g >+#if OPENSSL_VERSION_NUMBER >= 0x10100000L >+ || !DH_set0_pqg(dh, p, NULL, g) >+#endif /* OPENSSL_VERSION_NUMBER >= 0x10100000L */ >+ ) { > DH_free(dh); > dh=0; > } >+#if OPENSSL_VERSION_NUMBER < 0x10100000L >+ dh->p= p; >+ dh->g= g; >+#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ > } > return(dh); > }
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
Actions:
View
|
Diff
Attachments on
bug 227178
:
192059
| 192995 |
192996