diff options
| author | tb <> | 2018-03-17 15:05:55 +0000 |
|---|---|---|
| committer | tb <> | 2018-03-17 15:05:55 +0000 |
| commit | a17b99541de00cf5d656f8a0ab9678fb3f1d0a3e (patch) | |
| tree | 7c8d92f09c1dc779190f9e8be1dd8e30fdfc3593 /src/lib/libcrypto/bio/bio.h | |
| parent | 1febbbd02eb347551b033ef4c0195ac23c846521 (diff) | |
| download | openbsd-a17b99541de00cf5d656f8a0ab9678fb3f1d0a3e.tar.gz openbsd-a17b99541de00cf5d656f8a0ab9678fb3f1d0a3e.tar.bz2 openbsd-a17b99541de00cf5d656f8a0ab9678fb3f1d0a3e.zip | |
Make BIO_meth_get_write() public. Omission spotted by schwarze.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
| -rw-r--r-- | src/lib/libcrypto/bio/bio.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
