diff options
| author | tb <> | 2018-05-01 13:29:10 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-01 13:29:10 +0000 |
| commit | 0348b99054499311191f1db880064066ce1c64b2 (patch) | |
| tree | 7876885f1d21e5b53f5a28cdd2d502808082a4fc /src/lib/libcrypto/bio/bss_conn.c | |
| parent | a8b69163d3bb4f0d18483bcbdec0f92c676330df (diff) | |
| download | openbsd-0348b99054499311191f1db880064066ce1c64b2.tar.gz openbsd-0348b99054499311191f1db880064066ce1c64b2.tar.bz2 openbsd-0348b99054499311191f1db880064066ce1c64b2.zip | |
const for BIO_{new,set}() and most of the BIO_{f,s}_*() family of
functions.
ok beck, jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bss_conn.c')
| -rw-r--r-- | src/lib/libcrypto/bio/bss_conn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_conn.c b/src/lib/libcrypto/bio/bss_conn.c index 555273882c..575d163371 100644 --- a/src/lib/libcrypto/bio/bss_conn.c +++ b/src/lib/libcrypto/bio/bss_conn.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bss_conn.c,v 1.33 2017/01/29 17:49:22 beck Exp $ */ | 1 | /* $OpenBSD: bss_conn.c,v 1.34 2018/05/01 13:29:09 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 | * |
| @@ -106,7 +106,7 @@ static void conn_close_socket(BIO *data); | |||
| 106 | BIO_CONNECT *BIO_CONNECT_new(void); | 106 | BIO_CONNECT *BIO_CONNECT_new(void); |
| 107 | void BIO_CONNECT_free(BIO_CONNECT *a); | 107 | void BIO_CONNECT_free(BIO_CONNECT *a); |
| 108 | 108 | ||
| 109 | static BIO_METHOD methods_connectp = { | 109 | static const BIO_METHOD methods_connectp = { |
| 110 | .type = BIO_TYPE_CONNECT, | 110 | .type = BIO_TYPE_CONNECT, |
| 111 | .name = "socket connect", | 111 | .name = "socket connect", |
| 112 | .bwrite = conn_write, | 112 | .bwrite = conn_write, |
| @@ -319,7 +319,7 @@ BIO_CONNECT_free(BIO_CONNECT *a) | |||
| 319 | free(a); | 319 | free(a); |
| 320 | } | 320 | } |
| 321 | 321 | ||
| 322 | BIO_METHOD * | 322 | const BIO_METHOD * |
| 323 | BIO_s_connect(void) | 323 | BIO_s_connect(void) |
| 324 | { | 324 | { |
| 325 | return (&methods_connectp); | 325 | return (&methods_connectp); |
