Bug #20774956: THREAD_POOL.THREAD_POOL_CONNECT HANGS WHEN RUN ON A
YASSL-COMPILED SERVER/CLIENT Description: thread_pool.thread_pool_connect hangs when the server and client are compiled with yaSSL. Bug-fix: Test thread_pool.thread_pool_connect was temporary disabled for yaSSL. However, now that yaSSL is fixed it runs OK. The bug was introduced by one of the yaSSL updates. set_current was not working for i == 0. Now this is fixed. YASSL is updated to 2.3.7d
This commit is contained in:
parent
e7ff2040d7
commit
7255ae6ceb
@ -12,6 +12,11 @@ before calling SSL_new();
|
|||||||
|
|
||||||
*** end Note ***
|
*** end Note ***
|
||||||
|
|
||||||
|
yaSSL Patch notes, version 2.3.7d (6/22/2015)
|
||||||
|
This release of yaSSL includes a fix for input_buffer set_current with
|
||||||
|
index 0. SSL_peek() at front of waiting data could trigger. Robert
|
||||||
|
Golebiowski of Oracle identified and suggested a fix, thanks!
|
||||||
|
|
||||||
yaSSL Patch notes, version 2.3.7c (6/12/2015)
|
yaSSL Patch notes, version 2.3.7c (6/12/2015)
|
||||||
This release of yaSSL does certificate DATE comparisons to the second
|
This release of yaSSL does certificate DATE comparisons to the second
|
||||||
instead of to the minute, helpful when using freshly generated certs.
|
instead of to the minute, helpful when using freshly generated certs.
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#include "rsa.h"
|
#include "rsa.h"
|
||||||
|
|
||||||
|
|
||||||
#define YASSL_VERSION "2.3.7c"
|
#define YASSL_VERSION "2.3.7d"
|
||||||
|
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
|
@ -162,7 +162,7 @@ void input_buffer::set_error()
|
|||||||
|
|
||||||
void input_buffer::set_current(uint i)
|
void input_buffer::set_current(uint i)
|
||||||
{
|
{
|
||||||
if (error_ == 0 && i && check(i - 1, size_) == 0)
|
if (error_ == 0 && check(i ? i - 1 : 0, size_) == 0)
|
||||||
current_ = i;
|
current_ = i;
|
||||||
else
|
else
|
||||||
error_ = -1;
|
error_ = -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user