diff options
author | tb <> | 2018-03-17 15:05:55 +0000 |
---|---|---|
committer | tb <> | 2018-03-17 15:05:55 +0000 |
commit | 65699f19109f051e620133371f72270f87b16337 (patch) | |
tree | 7c8d92f09c1dc779190f9e8be1dd8e30fdfc3593 /src | |
parent | 27effbf9623928426d7ac8c71d3f01f9f3071f9b (diff) | |
download | openbsd-65699f19109f051e620133371f72270f87b16337.tar.gz openbsd-65699f19109f051e620133371f72270f87b16337.tar.bz2 openbsd-65699f19109f051e620133371f72270f87b16337.zip |
Make BIO_meth_get_write() public. Omission spotted by schwarze.
ok jsing
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/Symbols.list | 1 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bio.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/Symbols.list b/src/lib/libcrypto/Symbols.list index ea1f420475..07f938f6be 100644 --- a/src/lib/libcrypto/Symbols.list +++ b/src/lib/libcrypto/Symbols.list | |||
@@ -297,6 +297,7 @@ BIO_meth_get_destroy | |||
297 | BIO_meth_get_gets | 297 | BIO_meth_get_gets |
298 | BIO_meth_get_puts | 298 | BIO_meth_get_puts |
299 | BIO_meth_get_read | 299 | BIO_meth_get_read |
300 | BIO_meth_get_write | ||
300 | BIO_meth_new | 301 | BIO_meth_new |
301 | BIO_meth_set_callback_ctrl | 302 | BIO_meth_set_callback_ctrl |
302 | BIO_meth_set_create | 303 | BIO_meth_set_create |
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index b85f7181bc..d0e2f3550c 100644 --- a/src/lib/libcrypto/bio/bio.h +++ b/src/lib/libcrypto/bio/bio.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio.h,v 1.39 2018/02/22 16:38:43 jsing Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.40 2018/03/17 15:05:55 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 | * |
@@ -337,6 +337,7 @@ typedef int asn1_ps_func(BIO *b, unsigned char **pbuf, int *plen, void *parg); | |||
337 | /* BIO_METHOD accessors */ | 337 | /* BIO_METHOD accessors */ |
338 | BIO_METHOD *BIO_meth_new(int type, const char *name); | 338 | BIO_METHOD *BIO_meth_new(int type, const char *name); |
339 | void BIO_meth_free(BIO_METHOD *biom); | 339 | void BIO_meth_free(BIO_METHOD *biom); |
340 | int (*BIO_meth_get_write(BIO_METHOD *biom))(BIO *, const char *, int); | ||
340 | int BIO_meth_set_write(BIO_METHOD *biom, | 341 | int BIO_meth_set_write(BIO_METHOD *biom, |
341 | int (*write)(BIO *, const char *, int)); | 342 | int (*write)(BIO *, const char *, int)); |
342 | int (*BIO_meth_get_read(BIO_METHOD *biom))(BIO *, char *, int); | 343 | int (*BIO_meth_get_read(BIO_METHOD *biom))(BIO *, char *, int); |