]> git.pld-linux.org Git - packages/cups.git/blame - cups-ssl-segfault.patch
- rel 2
[packages/cups.git] / cups-ssl-segfault.patch
CommitLineData
a6363e43
JR
1--- cups-1.5.0/cups/http.c~ 2011-06-16 22:12:16.000000000 +0200
2+++ cups-1.5.0/cups/http.c 2011-08-02 14:06:25.143633360 +0200
3@@ -3814,7 +3814,7 @@
4 BIO_ctrl(bio, BIO_C_SET_FILE_PTR, 0, (char *)http);
5
6 http->tls = SSL_new(context);
7- SSL_set_bio(http->tls_credentials, bio, bio);
8+ SSL_set_bio(http->tls, bio, bio);
9
10 if (SSL_connect(http->tls) != 1)
11 {
12@@ -4173,11 +4173,11 @@
13 # ifdef HAVE_LIBSSL
14 SSL_CTX *context; /* Context for encryption */
15
16- context = SSL_get_SSL_CTX(http->tls_credentials);
17+ context = SSL_get_SSL_CTX(http->tls);
18
19- SSL_shutdown(http->tls_credentials);
20+ SSL_shutdown(http->tls);
21 SSL_CTX_free(context);
22- SSL_free(http->tls_credentials);
23+ SSL_free(http->tls);
24
25 # elif defined(HAVE_GNUTLS)
26 gnutls_certificate_client_credentials *credentials;
This page took 0.070992 seconds and 4 git commands to generate.