Browse Source

Import yaSSL

extra/yassl/include/lock.hpp:
  Import patch yassl.diff
extra/yassl/include/openssl/ssl.h:
  Import patch yassl.diff
extra/yassl/include/socket_wrapper.hpp:
  Import patch yassl.diff
extra/yassl/include/yassl.hpp:
  Import patch yassl.diff
extra/yassl/src/ssl.cpp:
  Import patch yassl.diff
extra/yassl/taocrypt/mySTL/algorithm.hpp:
  Import patch yassl.diff
pull/374/head
unknown 19 years ago
parent
commit
94b6ec6b1e
  1. 2
      extra/yassl/include/lock.hpp
  2. 1
      extra/yassl/include/openssl/ssl.h
  3. 5
      extra/yassl/include/socket_wrapper.hpp
  4. 2
      extra/yassl/include/yassl.hpp
  5. 1
      extra/yassl/src/ssl.cpp
  6. 2
      extra/yassl/taocrypt/mySTL/algorithm.hpp

2
extra/yassl/include/lock.hpp

@ -28,7 +28,7 @@ namespace yaSSL {
#ifdef MULTI_THREADED
#if defined(_WIN32) || defined(_WIN64)
#ifdef _WIN32
#include <windows.h>
class Mutex {

1
extra/yassl/include/openssl/ssl.h

@ -189,6 +189,7 @@ enum { /* ERR Constants */
ERR_TXT_STRING = 1,
EVP_R_BAD_DECRYPT = 2
};
/*
Allow type used by SSL_set_fd to be changed, default to int
in order to be compatible with OpenSSL

5
extra/yassl/include/socket_wrapper.hpp

@ -28,8 +28,9 @@
#include <assert.h>
#include "openssl/ssl.h" /* for socket_t */
#if !defined(_WIN32) && !defined(_WIN64)
#ifdef _WIN32
#include <winsock2.h>
#else
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>

2
extra/yassl/include/yassl.hpp

@ -28,7 +28,7 @@
namespace yaSSL {
#if defined(_WIN32) || defined(_WIN64)
#ifdef _WIN32
typedef unsigned int SOCKET_T;
#else
typedef int SOCKET_T;

1
extra/yassl/src/ssl.cpp

@ -39,7 +39,6 @@
#include "coding.hpp" // HexDecoder
#include "helpers.hpp" // for placement new hack
#include <stdio.h>
#include <assert.h>
#ifdef _WIN32
#include <windows.h> // FindFirstFile etc..

2
extra/yassl/taocrypt/mySTL/algorithm.hpp

@ -27,8 +27,6 @@
namespace mySTL {
#undef max
#undef min
template<typename T>
inline const T& max(const T& a, const T&b)

Loading…
Cancel
Save