From 310115448188415e270bb0bef958c7c130939838 Mon Sep 17 00:00:00 2001 From: Emilia Kasper Date: Tue, 6 Oct 2015 17:20:32 +0200 Subject: DTLS: remove unused cookie field Note that this commit constifies a user callback parameter and therefore will break compilation for applications using this callback. But unless they are abusing write access to the buffer, the fix is trivial. Reviewed-by: Andy Polyakov --- apps/s_cb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/s_cb.c') diff --git a/apps/s_cb.c b/apps/s_cb.c index 643d91a160..884b5e1cf3 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -806,7 +806,7 @@ int generate_cookie_callback(SSL *ssl, unsigned char *cookie, return 1; } -int verify_cookie_callback(SSL *ssl, unsigned char *cookie, +int verify_cookie_callback(SSL *ssl, const unsigned char *cookie, unsigned int cookie_len) { unsigned char *buffer, result[EVP_MAX_MD_SIZE]; -- cgit v1.2.3