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:50 +0100
commitcac4332244aae42e13e3f63d2efcaa3f9b245d82 (patch)
treea6b7e349480bed63144fc2df7fade3e1db9f1fad /crypto
parente30dcc17ae3d9b3503f342b0abe91b7edc84f9da (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)