fix CyaSSL_write memory error return, bump dev version

pull/1/head
toddouska 2013-02-04 14:11:20 -08:00
parent 543d81ba97
commit 36f62a5707
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
# #
# #
AC_INIT([cyassl],[2.5.0],[http://www.yassl.com]) AC_INIT([cyassl],[2.5.1],[http://www.yassl.com])
AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])

View File

@ -26,8 +26,8 @@
extern "C" { extern "C" {
#endif #endif
#define LIBCYASSL_VERSION_STRING "2.5.0" #define LIBCYASSL_VERSION_STRING "2.5.1"
#define LIBCYASSL_VERSION_HEX 0x02005000 #define LIBCYASSL_VERSION_HEX 0x02005001
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -4716,7 +4716,7 @@ int SendData(CYASSL* ssl, const void* data, int sz)
/* check for avalaible size */ /* check for avalaible size */
if ((ret = CheckAvalaibleSize(ssl, len + COMP_EXTRA + if ((ret = CheckAvalaibleSize(ssl, len + COMP_EXTRA +
MAX_MSG_EXTRA)) != 0) MAX_MSG_EXTRA)) != 0)
return ret; return ssl->error = ret;
/* get ouput buffer */ /* get ouput buffer */
out = ssl->buffers.outputBuffer.buffer + out = ssl->buffers.outputBuffer.buffer +