mirror of
https://github.com/MariaDB/server.git
synced 2025-11-15 09:02:33 +03:00
Bug #13029 YaSSL not compatibile w/ JSSE (Java implementation of SSL)
-Applied patch from Todd
This commit is contained in:
@@ -171,13 +171,25 @@ int SSL_accept(SSL* ssl)
|
|||||||
sendServerHelloDone(*ssl);
|
sendServerHelloDone(*ssl);
|
||||||
ssl->flushBuffer();
|
ssl->flushBuffer();
|
||||||
|
|
||||||
processReply(*ssl);
|
// Java Client sends fragmented response
|
||||||
|
while (ssl->getStates().getServer() <
|
||||||
|
clientFinishedComplete) {
|
||||||
|
if (ssl->GetError()) break;
|
||||||
|
processReply(*ssl);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
sendChangeCipher(*ssl);
|
sendChangeCipher(*ssl);
|
||||||
sendFinished(*ssl, server_end);
|
sendFinished(*ssl, server_end);
|
||||||
ssl->flushBuffer();
|
ssl->flushBuffer();
|
||||||
if (ssl->getSecurity().get_resuming())
|
if (ssl->getSecurity().get_resuming()) {
|
||||||
processReply(*ssl);
|
|
||||||
|
// Java Client sends fragmented response
|
||||||
|
while (ssl->getStates().getServer() <
|
||||||
|
clientFinishedComplete) {
|
||||||
|
if (ssl->GetError()) break;
|
||||||
|
processReply(*ssl);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ssl->useLog().ShowTCP(ssl->getSocket().get_fd());
|
ssl->useLog().ShowTCP(ssl->getSocket().get_fd());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user