Commit c3398d13 authored by unknown's avatar unknown
Browse files

Import from yaSSL


extra/yassl/include/openssl/ssl.h:
  Import patch yassl.diff
extra/yassl/testsuite/test.hpp:
  Import patch yassl.diff
parent 30c4210d
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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" {
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
#endif /* _WIN32 */


#if defined(__MACH__) || defined(_WIN32)
#if !defined(_SOCKLEN_T) && (defined(__MACH__) || defined(_WIN32))
    typedef int socklen_t;
#endif