~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to vio/vio.c

  • Committer: Mark Atwood
  • Date: 2008-07-01 21:25:46 UTC
  • mto: This revision was merged to the branch mainline in revision 45.
  • Revision ID: mark@localhost.localdomain-20080701212546-jzs7ljtwcp2dcmgd
Remove all OpenSSL and all YaSSL code

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
  }
82
82
  else
83
83
#endif   
84
 
#ifdef HAVE_OPENSSL 
85
 
  if (type == VIO_TYPE_SSL)
86
 
  {
87
 
    vio->viodelete      =vio_ssl_delete;
88
 
    vio->vioerrno       =vio_errno;
89
 
    vio->read           =vio_ssl_read;
90
 
    vio->write          =vio_ssl_write;
91
 
    vio->fastsend       =vio_fastsend;
92
 
    vio->viokeepalive   =vio_keepalive;
93
 
    vio->should_retry   =vio_should_retry;
94
 
    vio->was_interrupted=vio_was_interrupted;
95
 
    vio->vioclose       =vio_ssl_close;
96
 
    vio->peer_addr      =vio_peer_addr;
97
 
    vio->vioblocking    =vio_ssl_blocking;
98
 
    vio->is_blocking    =vio_is_blocking;
99
 
    vio->timeout        =vio_timeout;
100
 
  }
101
 
  else                                  /* default is VIO_TYPE_TCPIP */
102
 
#endif /* HAVE_OPENSSL */
103
84
  {
104
85
    vio->viodelete      =vio_delete;
105
86
    vio->vioerrno       =vio_errno;
236
217
*/
237
218
void vio_end(void)
238
219
{
239
 
#ifdef HAVE_YASSL
240
 
  yaSSL_CleanUp();
241
 
#endif
242
220
}