summaryrefslogtreecommitdiff
path: root/src/lib/libssl/bio_ssl.c
diff options
context:
space:
mode:
authortb <>2018-05-01 13:30:24 +0000
committertb <>2018-05-01 13:30:24 +0000
commit1d195b2f50d786e8805fd9683f1aa3d058620b4f (patch)
tree136f68e04ca016e2f44df48bd4650f1c5ea9c425 /src/lib/libssl/bio_ssl.c
parent82267b005082127062ce8593ce4963d09c361e2e (diff)
downloadopenbsd-1d195b2f50d786e8805fd9683f1aa3d058620b4f.tar.gz
openbsd-1d195b2f50d786e8805fd9683f1aa3d058620b4f.tar.bz2
openbsd-1d195b2f50d786e8805fd9683f1aa3d058620b4f.zip
const for BIO_f_ssl(), the last const difference to OpenSSL in our
public API in libssl. ok beck, jsing
Diffstat (limited to 'src/lib/libssl/bio_ssl.c')
-rw-r--r--src/lib/libssl/bio_ssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/bio_ssl.c b/src/lib/libssl/bio_ssl.c
index 344ca21786..d68e011c62 100644
--- a/src/lib/libssl/bio_ssl.c
+++ b/src/lib/libssl/bio_ssl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_ssl.c,v 1.27 2017/02/07 02:08:38 beck Exp $ */ 1/* $OpenBSD: bio_ssl.c,v 1.28 2018/05/01 13:30:24 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 *
@@ -85,7 +85,7 @@ typedef struct bio_ssl_st {
85 time_t last_time; 85 time_t last_time;
86} BIO_SSL; 86} BIO_SSL;
87 87
88static BIO_METHOD methods_sslp = { 88static const BIO_METHOD methods_sslp = {
89 .type = BIO_TYPE_SSL, 89 .type = BIO_TYPE_SSL,
90 .name = "ssl", 90 .name = "ssl",
91 .bwrite = ssl_write, 91 .bwrite = ssl_write,
@@ -97,7 +97,7 @@ static BIO_METHOD methods_sslp = {
97 .callback_ctrl = ssl_callback_ctrl, 97 .callback_ctrl = ssl_callback_ctrl,
98}; 98};
99 99
100BIO_METHOD * 100const BIO_METHOD *
101BIO_f_ssl(void) 101BIO_f_ssl(void)
102{ 102{
103 return (&methods_sslp); 103 return (&methods_sslp);