From: Xiaoyin Liu Date: Mon, 31 Jul 2017 12:55:37 +0000 (-0400) Subject: Fix errors in SSL_state_string_long X-Git-Tag: OpenSSL_1_1_1-pre1~927 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f978f2b8af576ed1d9409de440b5c1f97ac0e7ab;p=oweals%2Fopenssl.git Fix errors in SSL_state_string_long TLS_ST_SR_NEXT_PROTO means "SSLv3/TLS read next proto" Fix typo in the message for TLS_ST_SW_CERT_STATUS Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4054) --- diff --git a/ssl/ssl_stat.c b/ssl/ssl_stat.c index 8457930737..405924d1ad 100644 --- a/ssl/ssl_stat.c +++ b/ssl/ssl_stat.c @@ -1,5 +1,5 @@ /* - * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved. * Copyright 2005 Nokia. All rights reserved. * * Licensed under the OpenSSL license (the "License"). You may not use @@ -22,9 +22,9 @@ const char *SSL_state_string_long(const SSL *s) case TLS_ST_CW_NEXT_PROTO: return "SSLv3/TLS write next proto"; case TLS_ST_SR_NEXT_PROTO: - return "SSLv3/TLS write next proto"; + return "SSLv3/TLS read next proto"; case TLS_ST_SW_CERT_STATUS: - return "SSLv3/TLS write next proto"; + return "SSLv3/TLS write certificate status"; case TLS_ST_BEFORE: return "before SSL initialization"; case TLS_ST_OK: