Fix a typo in the SSL_get_max_early_data() declarations
[openssl.git] / ssl / ssl_lib.c
index a76ee406805f2ad1bcbcb9001e748c773424d41b..61e1a7a4c808861611df133a3e14767d8e70c08e 100644 (file)
@@ -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;
 }