~ubuntu-branches/ubuntu/gutsy/mysql-dfsg-5.0/gutsy

« back to all changes in this revision

Viewing changes to extra/yassl/include/openssl/ssl.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-03 09:43:01 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20070403094301-fnjhfr59hu72pvtg
Tags: 5.0.38-0ubuntu1
* Package the Enterprise version again (.37 was a community version), since
  Debian and we have always done so. This brings in a few more bug fixes and
  makes functional derivations less likely.
* debian/README.Maintainer: Add pointer to upstream download URL, since it
  is very hard to find the Enterprise versions.
* Disable 33_scripts__mysql_create_system_tables__no_test.dpatch, since that
  script was removed upstream.
* debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch: Adapted to
  changed formatting in new upstream version.
* Remove debian/patches/86_PATH_MAX.dpatch, fixed upstream.
* Add debian/patches/90_org_tables_definition.dpatch: Fix local variable
  declaration in libmysqld/sql_parse.cc to fix compilation with
  EMBEDDED_LIBRARY.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "opensslv.h" /* for version number */
34
34
#include "rsa.h"
35
35
 
36
 
 
37
36
#define YASSL_VERSION "1.5.8"
38
37
 
39
38
 
190
189
    EVP_R_BAD_DECRYPT = 2
191
190
};
192
191
 
 
192
#ifdef WIN
 
193
    typedef SOCKET socket_t;
 
194
#else
 
195
    typedef int socket_t;
 
196
#endif
193
197
 
194
198
 
195
199
SSL_CTX* SSL_CTX_new(SSL_METHOD*);
196
200
SSL* SSL_new(SSL_CTX*);
197
 
int  SSL_set_fd (SSL*, int);
 
201
int  SSL_set_fd (SSL*, socket_t);
198
202
int  SSL_connect(SSL*);
199
203
int  SSL_write(SSL*, const void*, int);
200
204
int  SSL_read(SSL*, void*, int);