summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2018-08-24 19:32:26 +0000
committertb <>2018-08-24 19:32:26 +0000
commitafdd3306518717990928f2cdef8b089fb44163d0 (patch)
tree6d80b0d4ed5b6d5abb596c1803ecfef2412cddc3
parent8b1ca906423a8569ce3027d8dd5774a4b6d69b6b (diff)
downloadopenbsd-afdd3306518717990928f2cdef8b089fb44163d0.tar.gz
openbsd-afdd3306518717990928f2cdef8b089fb44163d0.tar.bz2
openbsd-afdd3306518717990928f2cdef8b089fb44163d0.zip
Document prototype change and return values for BIO_set_cipher()
ok jsing
-rw-r--r--src/lib/libcrypto/man/BIO_f_cipher.38
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/BIO_f_cipher.3 b/src/lib/libcrypto/man/BIO_f_cipher.3
index 9a74d4c4d8..ccd374681f 100644
--- a/src/lib/libcrypto/man/BIO_f_cipher.3
+++ b/src/lib/libcrypto/man/BIO_f_cipher.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_f_cipher.3,v 1.10 2018/05/02 16:04:35 schwarze Exp $ 1.\" $OpenBSD: BIO_f_cipher.3,v 1.11 2018/08/24 19:32:26 tb Exp $
2.\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700 2.\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: May 2 2018 $ 52.Dd $Mdocdate: August 24 2018 $
53.Dt BIO_F_CIPHER 3 53.Dt BIO_F_CIPHER 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -65,7 +65,7 @@
65.Fo BIO_f_cipher 65.Fo BIO_f_cipher
66.Fa void 66.Fa void
67.Fc 67.Fc
68.Ft void 68.Ft int
69.Fo BIO_set_cipher 69.Fo BIO_set_cipher
70.Fa "BIO *b" 70.Fa "BIO *b"
71.Fa "const EVP_CIPHER *cipher" 71.Fa "const EVP_CIPHER *cipher"
@@ -154,6 +154,8 @@ by preceding the cipher BIO with a buffering BIO.
154.Sh RETURN VALUES 154.Sh RETURN VALUES
155.Fn BIO_f_cipher 155.Fn BIO_f_cipher
156returns the cipher BIO method. 156returns the cipher BIO method.
157.Fn BIO_set_cipher
158returns 1 on success and 0 on error.
157.Pp 159.Pp
158.Fn BIO_get_cipher_status 160.Fn BIO_get_cipher_status
159returns 1 for a successful decrypt and 0 for failure. 161returns 1 for a successful decrypt and 0 for failure.