diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-04-09 16:57:39 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-04-09 17:49:13 +0200 |
commit | 4544f0a69161a37ee3edce3cc1bc34c3678a4d64 (patch) | |
tree | 3f722dd7c35b791ec0bac696804c9821c838c9c3 /ssl/d1_srvr.c | |
parent | Always return errors in ssl3_get_client_hello (diff) | |
download | openssl-4544f0a69161a37ee3edce3cc1bc34c3678a4d64.tar.xz openssl-4544f0a69161a37ee3edce3cc1bc34c3678a4d64.zip |
Suite B support for DTLS 1.2
Check for Suite B support using method flags instead of version numbers:
anything supporting TLS 1.2 cipher suites will also support Suite B.
Return an error if an attempt to use DTLS 1.0 is made in Suite B mode.
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r-- | ssl/d1_srvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c index 27f31b6762..c628db56ef 100644 --- a/ssl/d1_srvr.c +++ b/ssl/d1_srvr.c @@ -667,7 +667,7 @@ int dtls1_accept(SSL *s) */ if (!s->s3->handshake_buffer) { - SSLerr(SSL_F_SSL3_ACCEPT,ERR_R_INTERNAL_ERROR); + SSLerr(SSL_F_DTLS1_ACCEPT,ERR_R_INTERNAL_ERROR); return -1; } s->s3->flags |= TLS1_FLAGS_KEEP_HANDSHAKE; |