You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2017/11/30 07:26:59 UTC

[trafficserver] 01/02: Increase buffer size for SSL error messages

This is an automated email from the ASF dual-hosted git repository.

maskit pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 463b30577acb800eb80463ca7885eced4285e9a9
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Thu Nov 30 15:31:25 2017 +0900

    Increase buffer size for SSL error messages
---
 iocore/net/quic/QUICCrypto.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/quic/QUICCrypto.cc b/iocore/net/quic/QUICCrypto.cc
index 3e45928..77b38e8 100644
--- a/iocore/net/quic/QUICCrypto.cc
+++ b/iocore/net/quic/QUICCrypto.cc
@@ -127,7 +127,7 @@ QUICCryptoTls::handshake(uint8_t *out, size_t &out_len, size_t max_out_len, cons
       case SSL_ERROR_WANT_WRITE:
         break;
       default:
-        char err_buf[32] = {0};
+        char err_buf[256] = {0};
         ERR_error_string_n(err, err_buf, sizeof(err_buf));
         Debug(tag, "Handshake error: %s (%d)", err_buf, err);
         return false;

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.