Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 208871 | Differences between
and this patch

Collapse All | Expand All

(-)src/tls/tls_drv.c.orig (-1 / +1 lines)
Lines 108-114 Link Here
108
	 d->ctx = SSL_CTX_new(SSLv23_method());
108
	 d->ctx = SSL_CTX_new(SSLv23_method());
109
	 die_unless(d->ctx, "SSL_CTX_new failed");
109
	 die_unless(d->ctx, "SSL_CTX_new failed");
110
110
111
	 res = SSL_CTX_use_certificate_file(d->ctx, buf, SSL_FILETYPE_PEM);
111
	 res = SSL_CTX_use_certificate_chain_file(d->ctx, buf, SSL_FILETYPE_PEM);
112
	 die_unless(res > 0, "SSL_CTX_use_certificate_file failed");
112
	 die_unless(res > 0, "SSL_CTX_use_certificate_file failed");
113
113
114
	 res = SSL_CTX_use_PrivateKey_file(d->ctx, buf, SSL_FILETYPE_PEM);
114
	 res = SSL_CTX_use_PrivateKey_file(d->ctx, buf, SSL_FILETYPE_PEM);

Return to bug 208871