From 8181e6a30c8b6d82ffd5b61c96ed970878053486 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Fri, 20 Dec 2024 17:01:42 +0100 Subject: [PATCH] fixup! fixup! fixup! fix X509_PURPOSE_add() to take |sname| as primary key and handle |id| in a backwd compat way for new purpose --- doc/man3/X509_check_purpose.pod | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/man3/X509_check_purpose.pod b/doc/man3/X509_check_purpose.pod index 6c84de9cf3260..cba44317ceb68 100644 --- a/doc/man3/X509_check_purpose.pod +++ b/doc/man3/X509_check_purpose.pod @@ -66,6 +66,7 @@ X509_PURPOSE_get_count() returns the number of currently defined purposes. X509_PURPOSE_get_unused_id() returns the smallest purpose id not yet used. The I parameter should be used to provide the library context. +It is currently ignored as the purpose mapping table is global. X509_PURPOSE_get_by_sname() returns the index of the purpose with the given short name or -1 if not found.