freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Jason Yanowitz <jyanowitz AT groupon.com>
- To: FreeTDS AT lists.ibiblio.org
- Subject: [freetds] tiny patch
- Date: Wed, 15 Jun 2011 13:52:23 -0500
I think this is the right place to send this.
I was compiling freetds-0.92.dev.20110612 with openssl and getting a compile
time error of
net.c: In function ‘tds_write_packet’:
net.c:744: error: ‘TDSSOCKET’ has no member named ‘tls_session’
The attached patch is the solution.
Cheers,
Jason
> *** freetds-0.92.dev.20110612/src/tds/net.c 2011-06-10 12:51:44.000000000
> -0500
> --- freetds-0.92.dev.20110612.new/src/tds/net.c 2011-06-15
> 11:58:17.000000000 -0500
> ***************
> *** 741,747 ****
> sent = gnutls_record_send(tds_conn(tds)->tls_session,
> tds->out_buf, tds->out_pos);
> else
> #elif defined(HAVE_OPENSSL)
> ! if (tds->tls_session)
> sent = SSL_write((SSL*) tds_conn(tds)->tls_session,
> tds->out_buf, tds->out_pos);
> else
> #endif
> --- 741,747 ----
> sent = gnutls_record_send(tds_conn(tds)->tls_session,
> tds->out_buf, tds->out_pos);
> else
> #elif defined(HAVE_OPENSSL)
> ! if (tds_conn(tds)->tls_session)
> sent = SSL_write((SSL*) tds_conn(tds)->tls_session,
> tds->out_buf, tds->out_pos);
> else
> #endif
-
[freetds] tiny patch,
Jason Yanowitz, 06/15/2011
- Re: [freetds] tiny patch, Frediano Ziglio, 06/16/2011
Archive powered by MHonArc 2.6.24.