diff options
author | 2018-04-25 07:10:39 +0000 | |
---|---|---|
committer | 2018-04-25 07:10:39 +0000 | |
commit | 0a4fabb92f4ba497692f2b5aec4587a47504521c (patch) | |
tree | 676c6937b6a9e9f046932d250549c5b6252c1288 /lib/libssl/ssl_lib.c | |
parent | you can't have wsmoused and x mouse together ;( (diff) | |
download | wireguard-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_lib.c')
-rw-r--r-- | lib/libssl/ssl_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c index 5cae53041df..4f1eb5bf0af 100644 --- a/lib/libssl/ssl_lib.c +++ b/lib/libssl/ssl_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_lib.c,v 1.184 2018/04/14 07:09:21 tb Exp $ */ +/* $OpenBSD: ssl_lib.c,v 1.185 2018/04/25 07:10:39 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -2654,7 +2654,7 @@ SSL_get_certificate(const SSL *s) /* Fix this function so that it takes an optional type parameter */ EVP_PKEY * -SSL_get_privatekey(SSL *s) +SSL_get_privatekey(const SSL *s) { if (s->cert != NULL) return (s->cert->key->privatekey); |