summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2026-01-30 14:33:33 +0000
committertb <>2026-01-30 14:33:33 +0000
commit638e4f9b1442547b8847e1f03dd2903f1eedb08b (patch)
tree3deffb716eb77f42d0c3514ac246a1bcb7c1f1db /src
parent37888d726bf851fed1c3db8d08652e1dafb02feb (diff)
downloadopenbsd-638e4f9b1442547b8847e1f03dd2903f1eedb08b.tar.gz
openbsd-638e4f9b1442547b8847e1f03dd2903f1eedb08b.tar.bz2
openbsd-638e4f9b1442547b8847e1f03dd2903f1eedb08b.zip
EVP_SealInit.3: fix RETURN VALUES section
While normal calls return 0 for error and npubk for success, there is a case where it returns the usual 1/0 thing. Make that explicit. Prompted by a report by Niels Dossche ok jsing kenjiro
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/EVP_SealInit.314
1 files changed, 12 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/EVP_SealInit.3 b/src/lib/libcrypto/man/EVP_SealInit.3
index f211702ba6..cae0a55ec2 100644
--- a/src/lib/libcrypto/man/EVP_SealInit.3
+++ b/src/lib/libcrypto/man/EVP_SealInit.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_SealInit.3,v 1.10 2025/06/08 22:40:29 schwarze Exp $ 1.\" $OpenBSD: EVP_SealInit.3,v 1.11 2026/01/30 14:33:33 tb Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
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: June 8 2025 $ 52.Dd $Mdocdate: January 30 2026 $
53.Dt EVP_SEALINIT 3 53.Dt EVP_SEALINIT 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -168,9 +168,19 @@ set to NULL.
168is implemented as a macro. 168is implemented as a macro.
169.Sh RETURN VALUES 169.Sh RETURN VALUES
170.Fn EVP_SealInit 170.Fn EVP_SealInit
171usually
171returns 0 on error or 172returns 0 on error or
172.Fa npubk 173.Fa npubk
173if successful. 174if successful.
175If
176.Fn EVP_SealInit
177is called with
178.Fa npubk
179set to 0 or with
180.Fa pubk
181set to
182.Dv NULL ,
183it returns 1 for success and 0 for failure.
174.Pp 184.Pp
175.Fn EVP_SealUpdate 185.Fn EVP_SealUpdate
176and 186and