diff options
| author | tb <> | 2018-08-24 19:32:26 +0000 |
|---|---|---|
| committer | tb <> | 2018-08-24 19:32:26 +0000 |
| commit | 568e162e2356de6f5640ae7e2932b50ee09dd2f6 (patch) | |
| tree | 6d80b0d4ed5b6d5abb596c1803ecfef2412cddc3 | |
| parent | 733b572d3a5920f142990123512f10660520b9e6 (diff) | |
| download | openbsd-568e162e2356de6f5640ae7e2932b50ee09dd2f6.tar.gz openbsd-568e162e2356de6f5640ae7e2932b50ee09dd2f6.tar.bz2 openbsd-568e162e2356de6f5640ae7e2932b50ee09dd2f6.zip | |
Document prototype change and return values for BIO_set_cipher()
ok jsing
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/man/BIO_f_cipher.3 | 8 |
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 |
| 156 | returns the cipher BIO method. | 156 | returns the cipher BIO method. |
| 157 | .Fn BIO_set_cipher | ||
| 158 | returns 1 on success and 0 on error. | ||
| 157 | .Pp | 159 | .Pp |
| 158 | .Fn BIO_get_cipher_status | 160 | .Fn BIO_get_cipher_status |
| 159 | returns 1 for a successful decrypt and 0 for failure. | 161 | returns 1 for a successful decrypt and 0 for failure. |
