diff options
author | Matt Caswell <matt@openssl.org> | 2016-09-21 14:05:42 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-09-21 14:31:30 +0100 |
commit | 3c106325292d30fad32b0dd4cdf2f2ec613461b1 (patch) | |
tree | 6b605d149b9dfe761341dffd9c0c64b853a18a9c /ssl/statem/statem_dtls.c | |
parent | 1ff7425d6130380bb00d3e64739633a4b21b11a3 (diff) | |
download | openssl-3c106325292d30fad32b0dd4cdf2f2ec613461b1.zip openssl-3c106325292d30fad32b0dd4cdf2f2ec613461b1.tar.gz openssl-3c106325292d30fad32b0dd4cdf2f2ec613461b1.tar.bz2 |
make update and fix some associated mis-matched error codes
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/statem/statem_dtls.c')
-rw-r--r-- | ssl/statem/statem_dtls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/statem/statem_dtls.c b/ssl/statem/statem_dtls.c index f892f0f..7c8437a 100644 --- a/ssl/statem/statem_dtls.c +++ b/ssl/statem/statem_dtls.c @@ -877,7 +877,7 @@ int dtls_construct_change_cipher_spec(SSL *s) if (!WPACKET_init(&pkt, s->init_buf) || !WPACKET_put_bytes_u8(&pkt, SSL3_MT_CCS)) { - SSLerr(SSL_F_TLS_CONSTRUCT_FINISHED, ERR_R_INTERNAL_ERROR); + SSLerr(SSL_F_DTLS_CONSTRUCT_CHANGE_CIPHER_SPEC, ERR_R_INTERNAL_ERROR); goto err; } @@ -888,7 +888,7 @@ int dtls_construct_change_cipher_spec(SSL *s) s->d1->next_handshake_write_seq++; if (!WPACKET_put_bytes_u16(&pkt, s->d1->handshake_write_seq)) { - SSLerr(SSL_F_TLS_CONSTRUCT_FINISHED, ERR_R_INTERNAL_ERROR); + SSLerr(SSL_F_DTLS_CONSTRUCT_CHANGE_CIPHER_SPEC, ERR_R_INTERNAL_ERROR); goto err; } @@ -896,7 +896,7 @@ int dtls_construct_change_cipher_spec(SSL *s) } if (!WPACKET_finish(&pkt)) { - SSLerr(SSL_F_TLS_CONSTRUCT_FINISHED, ERR_R_INTERNAL_ERROR); + SSLerr(SSL_F_DTLS_CONSTRUCT_CHANGE_CIPHER_SPEC, ERR_R_INTERNAL_ERROR); goto err; } |