Fix an error code spelling.
authorFdaSilvaYY <fdasilvayy@gmail.com>
Mon, 4 Apr 2016 18:42:27 +0000 (20:42 +0200)
committerRich Salz <rsalz@openssl.org>
Thu, 28 Apr 2016 18:22:26 +0000 (14:22 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/952)

include/openssl/ssl.h
ssl/ssl_err.c
ssl/statem/statem_srvr.c

index 73e3a99b8fb1fdebe9ee7860528e90eecca45eac..3f732c8fd31149dd5f4b0e192b6fd1e964a9a969 100644 (file)
@@ -2522,7 +2522,7 @@ void ERR_load_SSL_strings(void);
 # define SSL_R_RENEGOTIATION_ENCODING_ERR                 336
 # define SSL_R_RENEGOTIATION_MISMATCH                     337
 # define SSL_R_REQUIRED_CIPHER_MISSING                    215
-# define SSL_R_REQUIRED_COMPRESSSION_ALGORITHM_MISSING    342
+# define SSL_R_REQUIRED_COMPRESSION_ALGORITHM_MISSING     342
 # define SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING           345
 # define SSL_R_SCT_VERIFICATION_FAILED                    208
 # define SSL_R_SERVERHELLO_TLSEXT                         275
index fe685907714e89205dac077802e169a9140e6361..b9876bd5631495055ddf31d7db1fc76de0ebf260 100644 (file)
@@ -545,7 +545,7 @@ static ERR_STRING_DATA SSL_str_reasons[] = {
      "renegotiation encoding err"},
     {ERR_REASON(SSL_R_RENEGOTIATION_MISMATCH), "renegotiation mismatch"},
     {ERR_REASON(SSL_R_REQUIRED_CIPHER_MISSING), "required cipher missing"},
-    {ERR_REASON(SSL_R_REQUIRED_COMPRESSSION_ALGORITHM_MISSING),
+    {ERR_REASON(SSL_R_REQUIRED_COMPRESSION_ALGORITHM_MISSING),
      "required compression algorithm missing"},
     {ERR_REASON(SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING),
      "scsv received when renegotiating"},
index 4bb22e5543da5b64bd34e279c6569d49a67ceb56..27f12873f382d2df363271ee9fb147d6495730fe 100644 (file)
@@ -1376,7 +1376,7 @@ MSG_PROCESS_RETURN tls_process_client_hello(SSL *s, PACKET *pkt)
         if (k >= complen) {
             al = SSL_AD_ILLEGAL_PARAMETER;
             SSLerr(SSL_F_TLS_PROCESS_CLIENT_HELLO,
-                   SSL_R_REQUIRED_COMPRESSSION_ALGORITHM_MISSING);
+                   SSL_R_REQUIRED_COMPRESSION_ALGORITHM_MISSING);
             goto f_err;
         }
     } else if (s->hit)