Import from yaSSL

extra/yassl/include/openssl/ssl.h:
  Import patch yassl.diff
extra/yassl/testsuite/test.hpp:
  Import patch yassl.diff
This commit is contained in:
unknown 2006-05-05 10:35:12 +02:00
parent 30c4210d70
commit c3398d13de
2 changed files with 9 additions and 2 deletions

View file

@ -32,12 +32,19 @@
#include "opensslv.h" /* for version number */
#include "rsa.h"
#if defined(__cplusplus)
extern "C" {
#endif
extern "C" void yaSSL_CleanUp(); /* call once at end of application use to
void yaSSL_CleanUp(); /* call once at end of application use to
free static singleton memory holders,
not a leak per se, but helpful when
looking for them */
#if defined(__cplusplus)
} // extern
#endif
#if defined(__cplusplus) && !defined(YASSL_MYSQL_COMPATIBLE)
namespace yaSSL {
extern "C" {

View file

@ -27,7 +27,7 @@
#endif /* _WIN32 */
#if defined(__MACH__) || defined(_WIN32)
#if !defined(_SOCKLEN_T) && (defined(__MACH__) || defined(_WIN32))
typedef int socklen_t;
#endif