Skip to Content.
Sympa Menu

freetds - Re: [freetds] tiny patch

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] tiny patch
  • Date: Thu, 16 Jun 2011 08:59:48 +0200

Applied

Thanks

2011/6/15 Jason Yanowitz <jyanowitz AT groupon.com>:
> 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 mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>



  • [freetds] tiny patch, Jason Yanowitz, 06/15/2011
    • Re: [freetds] tiny patch, Frediano Ziglio, 06/16/2011

Archive powered by MHonArc 2.6.24.

Top of Page