Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 463748 Details for
Bug 608244
dev-libs/libressl-2.5.1 breaks openvpn
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this patch fixes it
fix-libressl.patch (text/plain), 771 bytes, created by
Jason A. Donenfeld
on 2017-02-14 19:43:45 UTC
(
hide
)
Description:
this patch fixes it
Filename:
MIME Type:
Creator:
Jason A. Donenfeld
Created:
2017-02-14 19:43:45 UTC
Size:
771 bytes
patch
obsolete
>diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c >index 8266595..a889332 100644 >--- a/src/openvpn/ssl_openssl.c >+++ b/src/openvpn/ssl_openssl.c >@@ -508,10 +508,13 @@ tls_ctx_load_ecdh_params(struct tls_root_ctx *ctx, const char *curve_name > const EC_GROUP *ecgrp = NULL; > EVP_PKEY *pkey = NULL; > >- /* Little hack to get private key ref from SSL_CTX, yay OpenSSL... */ >- SSL ssl; >- ssl.cert = ctx->ctx->cert; >- pkey = SSL_get_privatekey(&ssl); >+ SSL *ssl = SSL_new(ctx->ctx); >+ if (!ssl) >+ { >+ crypto_msg(M_FATAL, "SSL_new failed"); >+ } >+ pkey = SSL_get_privatekey(ssl); >+ SSL_free(ssl); > > msg(D_TLS_DEBUG, "Extracting ECDH curve from private key");
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 608244
: 463748