summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorslontis <shane.lontis@oracle.com>2023-11-08 16:14:44 +1000
committerTomas Mraz <tomas@openssl.org>2024-01-03 12:55:17 +0100
commit9ee889f4d127edb72b2bf780f91fe1ac7380d44c (patch)
treee28c0fdd10b1604c00105a1605820fc656fb952b /crypto
parent41dd0e0433d171a19fdc8e52a94e3d0a79c84281 (diff)
Add missing documentation for X509_ATTRIBUTE related functions.
Partial fix for #8026 Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22656) (cherry picked from commit f1f0731ddf6cb31d62a2c0f406b009ae9817ed7f)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/x509/x509_req.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_req.c b/crypto/x509/x509_req.c
index 5428bdaf4c..8f3d46b134 100644
--- a/crypto/x509/x509_req.c
+++ b/crypto/x509/x509_req.c
@@ -219,7 +219,7 @@ X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc)
if (req == NULL) {
ERR_raise(ERR_LIB_X509, ERR_R_PASSED_NULL_PARAMETER);
- return 0;
+ return NULL;
}
attr = X509at_delete_attr(req->req_info.attributes, loc);
if (attr != NULL)