diff options
author | Todd Short <tshort@akamai.com> | 2021-08-16 16:37:10 -0400 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-08-19 08:24:16 +1000 |
commit | e0f69c3598b61c47fbfe9d4e7d44ed671c334ef5 (patch) | |
tree | db5c5339593c90cdd445ea964cf43cfe56728fda /ssl | |
parent | d68820d95634322108316f3051a1746ead88adaf (diff) |
Fix state name abbreviation
The TRSCV state abbrev was used for two states:
* TLS_ST_CR_CERT_VRFY
* TLS_ST_SW_CERT_VRFY
The second one is wrong because it's a write operation.
The state for TLS_ST_SW_CERT_VRFY should be "TWSCV"
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16327)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_stat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/ssl_stat.c b/ssl/ssl_stat.c index 3ef0e15814..32bc4326b4 100644 --- a/ssl/ssl_stat.c +++ b/ssl/ssl_stat.c @@ -137,9 +137,9 @@ const char *SSL_state_string(const SSL *s) case TLS_ST_CW_NEXT_PROTO: return "TWNP"; case TLS_ST_BEFORE: - return "PINIT "; + return "PINIT"; case TLS_ST_OK: - return "SSLOK "; + return "SSLOK"; case TLS_ST_CW_CLNT_HELLO: return "TWCH"; case TLS_ST_CR_SRVR_HELLO: @@ -201,7 +201,7 @@ const char *SSL_state_string(const SSL *s) case TLS_ST_CR_CERT_VRFY: return "TRSCV"; case TLS_ST_SW_CERT_VRFY: - return "TRSCV"; + return "TWSCV"; case TLS_ST_CR_HELLO_REQ: return "TRHR"; case TLS_ST_SW_KEY_UPDATE: @@ -221,7 +221,7 @@ const char *SSL_state_string(const SSL *s) case TLS_ST_SR_END_OF_EARLY_DATA: return "TWEOED"; default: - return "UNKWN "; + return "UNKWN"; } } |