From af0d7077f89b661846d2372bafd6ca6ec5c5dbff Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 23 Jul 2021 16:23:00 +0000 Subject: mention the possibility that user-defined purpose identifiers may have been defined or user-supplied checking functions may have been installed --- lib/libcrypto/man/X509_check_purpose.3 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'lib/libcrypto/man') diff --git a/lib/libcrypto/man/X509_check_purpose.3 b/lib/libcrypto/man/X509_check_purpose.3 index 935b7eed864..b03eb5e4693 100644 --- a/lib/libcrypto/man/X509_check_purpose.3 +++ b/lib/libcrypto/man/X509_check_purpose.3 @@ -1,5 +1,6 @@ -.\" $OpenBSD: X509_check_purpose.3,v 1.3 2021/07/23 14:27:32 schwarze Exp $ -.\" Copyright (c) 2019 Ingo Schwarze +.\" $OpenBSD: X509_check_purpose.3,v 1.4 2021/07/23 16:22:59 schwarze Exp $ +.\" +.\" Copyright (c) 2019, 2021 Ingo Schwarze .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -330,6 +331,16 @@ is -1, always succeeds, no matter whether or not the .Fa ca flag is set. +.Pp +If the function +.Xr X509_PURPOSE_add 3 +was called before +.Fn X509_check_purpose , +it may have installed different, user-supplied checking functions +for some of the standard purposes listed above, or it may have +installed additional, user-supplied checking functions for user-defined +.Fa purpose +identifiers not listed above. .Sh RETURN VALUES .Fn X509_check_purpose returns the following values: -- cgit v1.2.3