Commit 5e500522 authored by unknown's avatar unknown
Browse files

Import yaSSL version 1.5.8

 - Includes patch for Bug#25189


extra/yassl/README:
  Import patch yassl.diff
extra/yassl/include/openssl/ssl.h:
  Import patch yassl.diff
extra/yassl/src/make.bat:
  Import patch yassl.diff
extra/yassl/src/ssl.cpp:
  Import patch yassl.diff
extra/yassl/src/yassl_error.cpp:
  Import patch yassl.diff
extra/yassl/taocrypt/benchmark/make.bat:
  Import patch yassl.diff
extra/yassl/taocrypt/include/asn.hpp:
  Import patch yassl.diff
extra/yassl/taocrypt/include/error.hpp:
  Import patch yassl.diff
extra/yassl/taocrypt/include/file.hpp:
  Import patch yassl.diff
extra/yassl/taocrypt/src/asn.cpp:
  Import patch yassl.diff
extra/yassl/taocrypt/src/coding.cpp:
  Import patch yassl.diff
extra/yassl/taocrypt/src/integer.cpp:
  Import patch yassl.diff
extra/yassl/taocrypt/src/make.bat:
  Import patch yassl.diff
extra/yassl/taocrypt/test/make.bat:
  Import patch yassl.diff
extra/yassl/taocrypt/test/test.cpp:
  Import patch yassl.diff
extra/yassl/testsuite/make.bat:
  Import patch yassl.diff
extra/yassl/testsuite/testsuite.cpp:
  Import patch yassl.diff
parent 1d82eb04
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
yaSSL Release notes, version 1.5.0 (11/09/06)
*****************yaSSL Release notes, version 1.5.0 (1/10/07)

    This release of yaSSL contains bug fixes, portability enhancements, and
    support for GCC 4.1.1 and vs2005 sp1.



    Since yaSSL now supports zlib, as does libcur, the libcurl build test can
    fail if yaSSL is built with zlib support since the zlib library isn't 
    passed.  You can do two things to fix this: 

        1) build yaSSL w/o zlib --without-zlib
        2) or add flags to curl configure LDFLAGS="-lm -lz"



*****************yaSSL Release notes, version 1.5.0 (11/09/06)

    This release of yaSSL contains bug fixes, portability enhancements,
    and full TLS 1.1 support.  Use the functions:
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@
#include "rsa.h"


#define YASSL_VERSION "1.5.0"
#define YASSL_VERSION "1.5.8"


#if defined(__cplusplus)
+0 −18
Original line number Diff line number Diff line
REM quick and dirty build file for testing different MSDEVs

@echo off
REM Copyright (C) 2006 MySQL AB
REM 
REM This program is free software; you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation; version 2 of the License.
REM 
REM This program is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
REM GNU General Public License for more details.
REM 
REM You should have received a copy of the GNU General Public License
REM along with this program; if not, write to the Free Software
REM Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
@echo on

setlocal 

set myFLAGS= /I../include /I../taocrypt/mySTL /I../taocrypt/include /W3 /c /ZI
+1 −1
Original line number Diff line number Diff line
@@ -958,7 +958,7 @@ void ERR_print_errors_fp(FILE* /*fp*/)

char* ERR_error_string(unsigned long errNumber, char* buffer)
{
  static char* msg = (char*) "Please supply a buffer for error string";
    static char* msg = "Please supply a buffer for error string";

    if (buffer) {
        SetErrorString(YasslError(errNumber), buffer);
+10 −2
Original line number Diff line number Diff line
@@ -150,6 +150,10 @@ void SetErrorString(YasslError error, char* buffer)
        strncpy(buffer, "the read operation would block", max);
        break;

    case CERTFICATE_ERROR :
        strncpy(buffer, "Unable to verify certificate", max);
        break;

        // TaoCrypt errors
    case NO_ERROR_E :
        strncpy(buffer, "not in error state", max);
@@ -255,8 +259,12 @@ void SetErrorString(YasslError error, char* buffer)
        strncpy(buffer, "ASN: bad other signature confirmation", max);
        break;

    case CERTFICATE_ERROR :
        strncpy(buffer, "Unable to verify certificate", max);
    case CONTENT_E :
        strncpy(buffer, "bad content processing", max);
        break;

    case PEM_E :
        strncpy(buffer, "bad PEM format processing", max);
        break;

    default :
Loading