diff options
author | Matt Caswell <matt@openssl.org> | 2015-07-30 11:14:44 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-08-03 11:18:06 +0100 |
commit | 496dbe1855b486c39f42d673d56924d5f9ae3c78 (patch) | |
tree | f40bab396092d262dc2c1d8de3107fade7b151ad | |
parent | e9f6b9a1a5ba9feaeeef88d9f45508996ce43468 (diff) | |
download | openssl-new-496dbe1855b486c39f42d673d56924d5f9ae3c78.tar.gz |
Fix make errors for the CCS changes
The move of CCS into the state machine was causing make errors to fail. This
fixes it.
Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r-- | include/openssl/ssl.h | 2 | ||||
-rw-r--r-- | ssl/d1_both.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 892e129611..06ac5c1672 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1943,7 +1943,7 @@ void ERR_load_SSL_strings(void); # define SSL_F_SSL3_GET_CERTIFICATE_REQUEST 135 # define SSL_F_SSL3_GET_CERT_STATUS 289 # define SSL_F_SSL3_GET_CERT_VERIFY 136 -# define SSL_F_SSL3_GET_CHANGE_CIPHER_SPEC 348 +# define SSL_F_SSL3_GET_CHANGE_CIPHER_SPEC 349 # define SSL_F_SSL3_GET_CLIENT_CERTIFICATE 137 # define SSL_F_SSL3_GET_CLIENT_HELLO 138 # define SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE 139 diff --git a/ssl/d1_both.c b/ssl/d1_both.c index e097de4671..ec47b94c75 100644 --- a/ssl/d1_both.c +++ b/ssl/d1_both.c @@ -882,7 +882,7 @@ dtls1_get_message_fragment(SSL *s, int st1, int stn, int mt, long max, int *ok) if(mt == SSL3_MT_CHANGE_CIPHER_SPEC) { if (wire[0] != SSL3_MT_CCS) { al = SSL_AD_UNEXPECTED_MESSAGE; - SSLerr(SSL_F_SSL3_GET_MESSAGE, SSL_R_BAD_CHANGE_CIPHER_SPEC); + SSLerr(SSL_F_DTLS1_GET_MESSAGE_FRAGMENT, SSL_R_BAD_CHANGE_CIPHER_SPEC); goto f_err; } |