diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-07-15 12:20:30 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-07-15 12:20:30 +0100 |
commit | 2054eb771ea29378f90d3a77c2f4015b17de702d (patch) | |
tree | 4958a3ead173016fba2e9c71c858b75dc2450947 /ssl/d1_srvr.c | |
parent | ea0ceb11a0ef518e9048cf6a995a2863c666c523 (diff) |
Add ECC extensions with DTLS.
PR#3449
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r-- | ssl/d1_srvr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c index 1384ab0cbf..ef9c347edd 100644 --- a/ssl/d1_srvr.c +++ b/ssl/d1_srvr.c @@ -980,6 +980,11 @@ int dtls1_send_server_hello(SSL *s) #endif #ifndef OPENSSL_NO_TLSEXT + if (ssl_prepare_serverhello_tlsext(s) <= 0) + { + SSLerr(SSL_F_DTLS1_SEND_SERVER_HELLO,SSL_R_SERVERHELLO_TLSEXT); + return -1; + } if ((p = ssl_add_serverhello_tlsext(s, p, buf+SSL3_RT_MAX_PLAIN_LENGTH)) == NULL) { SSLerr(SSL_F_DTLS1_SEND_SERVER_HELLO,ERR_R_INTERNAL_ERROR); |