summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/s_cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/s_cb.c')
-rw-r--r--src/usr.bin/openssl/s_cb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/s_cb.c b/src/usr.bin/openssl/s_cb.c
index b25118c030..835e99551b 100644
--- a/src/usr.bin/openssl/s_cb.c
+++ b/src/usr.bin/openssl/s_cb.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_cb.c,v 1.9 2018/01/15 11:02:07 inoguchi Exp $ */ 1/* $OpenBSD: s_cb.c,v 1.10 2018/04/25 07:12:33 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -821,7 +821,8 @@ generate_cookie_callback(SSL * ssl, unsigned char *cookie,
821} 821}
822 822
823int 823int
824verify_cookie_callback(SSL * ssl, unsigned char *cookie, unsigned int cookie_len) 824verify_cookie_callback(SSL * ssl, const unsigned char *cookie,
825 unsigned int cookie_len)
825{ 826{
826 unsigned char *buffer, result[EVP_MAX_MD_SIZE]; 827 unsigned char *buffer, result[EVP_MAX_MD_SIZE];
827 unsigned int length, resultlength; 828 unsigned int length, resultlength;