diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-12-01 17:42:15 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-12-01 17:42:15 +0000 |
commit | 499684404ccf27b261cd72770c068fee4ea6f369 (patch) | |
tree | 2015a2ec152e195f665cbadf663bc9324322081b /ssl/ssl_locl.h | |
parent | 606c46fb6f65424ac6eac456f4390a7d87a492b4 (diff) | |
download | openssl-499684404ccf27b261cd72770c068fee4ea6f369.zip openssl-499684404ccf27b261cd72770c068fee4ea6f369.tar.gz openssl-499684404ccf27b261cd72770c068fee4ea6f369.tar.bz2 |
PR: 2115
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Approved by: steve@openssl.org
Add Renegotiation extension to DTLS, fix DTLS ClientHello processing bug.
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 8f37008..c7c93ac 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -1053,6 +1053,12 @@ int ssl_prepare_clienthello_tlsext(SSL *s); int ssl_prepare_serverhello_tlsext(SSL *s); int ssl_check_clienthello_tlsext(SSL *s); int ssl_check_serverhello_tlsext(SSL *s); + +unsigned char *ssl_add_clienthello_dtlsext(SSL *s, unsigned char *p, unsigned char *limit); +unsigned char *ssl_add_serverhello_dtlsext(SSL *s, unsigned char *p, unsigned char *limit); +int ssl_parse_clienthello_dtlsext(SSL *s, unsigned char **data, unsigned char *d, int n, int *al); +int ssl_parse_serverhello_dtlsext(SSL *s, unsigned char **data, unsigned char *d, int n, int *al); + #ifdef OPENSSL_NO_SHA256 #define tlsext_tick_md EVP_sha1 #else |