From 6bad1d61e3e9e68c418f77a7443067102db546a2 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Fri, 25 Aug 2023 18:39:04 +0000 Subject: make the one-line description read better and be more specific below RETURN VALUES; OK tb@ --- src/lib/libcrypto/man/EVP_add_cipher.3 | 16 +++++++++++++--- 1 file 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 @@ -.\" $OpenBSD: EVP_add_cipher.3,v 1.5 2023/08/25 13:26:27 schwarze Exp $ +.\" $OpenBSD: EVP_add_cipher.3,v 1.6 2023/08/25 18:39:04 schwarze Exp $ .\" .\" Copyright (c) 2023 Theo Buehler .\" @@ -24,7 +24,7 @@ .Nm EVP_add_digest , .Nm EVP_add_digest_alias , .Nm EVP_delete_digest_alias -.Nd maintain cipher and digest lookup by names +.Nd maintain lookup tables for cipher and digest names .Sh SYNOPSIS .In openssl/evp.h .Ft int @@ -147,7 +147,17 @@ set to the bitwise or of and .Dv OBJ_NAME_ALIAS . .Sh RETURN VALUES -These functions return 1 on success and 0 on failure. +.Fn EVP_add_cipher , +.Fn EVP_add_cipher_alias , +.Fn EVP_add_digest , +and +.Fn EVP_add_digest_alias +return 1 on success or 0 if memory allocation fails. +.Pp +.Fn EVP_delete_cipher_alias +and +.Fn EVP_delete_digest_alias +return 1 if one alias was removed or 0 otherwise. .Sh SEE ALSO .Xr evp 3 , .Xr EVP_CIPHER_meth_new 3 , -- cgit v1.2.3-55-g6feb