diff options
| author | schwarze <> | 2023-08-25 18:39:04 +0000 |
|---|---|---|
| committer | schwarze <> | 2023-08-25 18:39:04 +0000 |
| commit | 6b6ef684f94d4cf5133caadeb33f7dc0a33d1f0d (patch) | |
| tree | 1441b62e333af5b29d382ad000d3a5daf8c86546 /src/lib/libc | |
| parent | af8ecc394f214fc470244ae0939e7d867ee6fbfe (diff) | |
| download | openbsd-6b6ef684f94d4cf5133caadeb33f7dc0a33d1f0d.tar.gz openbsd-6b6ef684f94d4cf5133caadeb33f7dc0a33d1f0d.tar.bz2 openbsd-6b6ef684f94d4cf5133caadeb33f7dc0a33d1f0d.zip | |
make the one-line description read better
and be more specific below RETURN VALUES;
OK tb@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/man/EVP_add_cipher.3 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/EVP_add_cipher.3 b/src/lib/libcrypto/man/EVP_add_cipher.3 index 1d92d3c002..6cbfd2e390 100644 --- a/src/lib/libcrypto/man/EVP_add_cipher.3 +++ b/src/lib/libcrypto/man/EVP_add_cipher.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: EVP_add_cipher.3,v 1.5 2023/08/25 13:26:27 schwarze Exp $ | 1 | .\" $OpenBSD: EVP_add_cipher.3,v 1.6 2023/08/25 18:39:04 schwarze Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org> | 3 | .\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org> |
| 4 | .\" | 4 | .\" |
| @@ -24,7 +24,7 @@ | |||
| 24 | .Nm EVP_add_digest , | 24 | .Nm EVP_add_digest , |
| 25 | .Nm EVP_add_digest_alias , | 25 | .Nm EVP_add_digest_alias , |
| 26 | .Nm EVP_delete_digest_alias | 26 | .Nm EVP_delete_digest_alias |
| 27 | .Nd maintain cipher and digest lookup by names | 27 | .Nd maintain lookup tables for cipher and digest names |
| 28 | .Sh SYNOPSIS | 28 | .Sh SYNOPSIS |
| 29 | .In openssl/evp.h | 29 | .In openssl/evp.h |
| 30 | .Ft int | 30 | .Ft int |
| @@ -147,7 +147,17 @@ set to the bitwise or of | |||
| 147 | and | 147 | and |
| 148 | .Dv OBJ_NAME_ALIAS . | 148 | .Dv OBJ_NAME_ALIAS . |
| 149 | .Sh RETURN VALUES | 149 | .Sh RETURN VALUES |
| 150 | These functions return 1 on success and 0 on failure. | 150 | .Fn EVP_add_cipher , |
| 151 | .Fn EVP_add_cipher_alias , | ||
| 152 | .Fn EVP_add_digest , | ||
| 153 | and | ||
| 154 | .Fn EVP_add_digest_alias | ||
| 155 | return 1 on success or 0 if memory allocation fails. | ||
| 156 | .Pp | ||
| 157 | .Fn EVP_delete_cipher_alias | ||
| 158 | and | ||
| 159 | .Fn EVP_delete_digest_alias | ||
| 160 | return 1 if one alias was removed or 0 otherwise. | ||
| 151 | .Sh SEE ALSO | 161 | .Sh SEE ALSO |
| 152 | .Xr evp 3 , | 162 | .Xr evp 3 , |
| 153 | .Xr EVP_CIPHER_meth_new 3 , | 163 | .Xr EVP_CIPHER_meth_new 3 , |
