diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-03-31 01:54:39 +0900 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-04-03 13:45:39 +0100 |
commit | a8e75d56804540dfc588bad9cf1c412c675cab89 (patch) | |
tree | 7d19be789ccba45b175f5babe308363f73012f9c /ssl | |
parent | a4750ce55e7d6451c187b5ab9ccf5218e0851eeb (diff) | |
download | openssl-a8e75d56804540dfc588bad9cf1c412c675cab89.tar.gz |
Fix a typo in the SSL_get_max_early_data() declarations
SSL_get_max_early_data() recently added by 3fc8d856105e ("Construct the
ticket_early_data_info extension", 2017-02-17) is supposed to take an
SSL, but it doesn't.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3113)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index a76ee40680..61e1a7a4c8 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -4810,7 +4810,7 @@ int SSL_set_max_early_data(SSL *s, uint32_t max_early_data) return 1; } -uint32_t SSL_get_max_early_data(const SSL_CTX *s) +uint32_t SSL_get_max_early_data(const SSL *s) { return s->max_early_data; } |