summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2018-04-25 07:10:39 +0000
committertb <tb@openbsd.org>2018-04-25 07:10:39 +0000
commit0a4fabb92f4ba497692f2b5aec4587a47504521c (patch)
tree676c6937b6a9e9f046932d250549c5b6252c1288 /lib/libssl/ssl_ciph.c
parentyou can't have wsmoused and x mouse together ;( (diff)
downloadwireguard-openbsd-0a4fabb92f4ba497692f2b5aec4587a47504521c.tar.xz
wireguard-openbsd-0a4fabb92f4ba497692f2b5aec4587a47504521c.zip
OpenSSL started adding const to functions all over the place. Make all
our libssl functions match theirs wrt const, except for BIO_f_ssl(3) which will be fixed in a later step. this went through a i386 bulk by sthen ok jsing
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r--lib/libssl/ssl_ciph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c
index 271d77f38b4..cd0e9b0ad63 100644
--- a/lib/libssl/ssl_ciph.c
+++ b/lib/libssl/ssl_ciph.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_ciph.c,v 1.98 2018/03/17 14:40:45 jsing Exp $ */
+/* $OpenBSD: ssl_ciph.c,v 1.99 2018/04/25 07:10:39 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1674,7 +1674,7 @@ SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
return (ret);
}
-char *
+const char *
SSL_CIPHER_get_version(const SSL_CIPHER *c)
{
if (c == NULL)