summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2018-03-17 15:05:55 +0000
committertb <>2018-03-17 15:05:55 +0000
commit65699f19109f051e620133371f72270f87b16337 (patch)
tree7c8d92f09c1dc779190f9e8be1dd8e30fdfc3593 /src
parent27effbf9623928426d7ac8c71d3f01f9f3071f9b (diff)
downloadopenbsd-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.list1
-rw-r--r--src/lib/libcrypto/bio/bio.h3
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
297BIO_meth_get_gets 297BIO_meth_get_gets
298BIO_meth_get_puts 298BIO_meth_get_puts
299BIO_meth_get_read 299BIO_meth_get_read
300BIO_meth_get_write
300BIO_meth_new 301BIO_meth_new
301BIO_meth_set_callback_ctrl 302BIO_meth_set_callback_ctrl
302BIO_meth_set_create 303BIO_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 */
338BIO_METHOD *BIO_meth_new(int type, const char *name); 338BIO_METHOD *BIO_meth_new(int type, const char *name);
339void BIO_meth_free(BIO_METHOD *biom); 339void BIO_meth_free(BIO_METHOD *biom);
340int (*BIO_meth_get_write(BIO_METHOD *biom))(BIO *, const char *, int);
340int BIO_meth_set_write(BIO_METHOD *biom, 341int BIO_meth_set_write(BIO_METHOD *biom,
341 int (*write)(BIO *, const char *, int)); 342 int (*write)(BIO *, const char *, int));
342int (*BIO_meth_get_read(BIO_METHOD *biom))(BIO *, char *, int); 343int (*BIO_meth_get_read(BIO_METHOD *biom))(BIO *, char *, int);