diff options
author | Andy Polyakov <appro@openssl.org> | 2008-09-13 18:25:36 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2008-09-13 18:25:36 +0000 |
commit | 3413424f0157de3a19ad0b2c21e3585ff1b07c6a (patch) | |
tree | c47dae2fb4add13163b0bf27d78fb523a047f1d0 /ssl/t1_enc.c | |
parent | 80fc840d89251e6a14ec2dfacfdeeef1af072176 (diff) |
DTLS didn't handle alerts correctly [from HEAD].
PR: 1632
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r-- | ssl/t1_enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index c1518264c8..3c4dec76d7 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -854,8 +854,10 @@ int tls1_alert_code(int code) case SSL_AD_INTERNAL_ERROR: return(TLS1_AD_INTERNAL_ERROR); case SSL_AD_USER_CANCELLED: return(TLS1_AD_USER_CANCELLED); case SSL_AD_NO_RENEGOTIATION: return(TLS1_AD_NO_RENEGOTIATION); +#ifdef DTLS1_AD_MISSING_HANDSHAKE_MESSAGE case DTLS1_AD_MISSING_HANDSHAKE_MESSAGE: return (DTLS1_AD_MISSING_HANDSHAKE_MESSAGE); +#endif default: return(-1); } } |