]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
doc/man3/X509_STORE_set_verify_cb_func.pod: mention callback constification
authorEugene Syromiatnikov <esyr@openssl.org>
Thu, 5 Mar 2026 15:55:28 +0000 (16:55 +0100)
committerNorbert Pocs <norbertp@openssl.org>
Thu, 12 Mar 2026 08:37:59 +0000 (09:37 +0100)
Update the signatures for X509_STORE_CTX_get_issuer_fn
and X509_STORE_CTX_check_issued_fn.

Complements: e5b563366b00 "Constify X509_STORE_CTX functions invoving X509 *"
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
MergeDate: Thu Mar 12 08:38:24 2026
(Merged from https://github.com/openssl/openssl/pull/30271)

doc/man3/X509_STORE_set_verify_cb_func.pod

index 8bd8843699b96bbd70ebe02cc11068340f12f787..b309a6e04aeae9df2d424cf7ea39a1032324ec3e 100644 (file)
@@ -41,9 +41,9 @@ X509_STORE_CTX_lookup_certs_fn, X509_STORE_CTX_lookup_crls_fn
  #include <openssl/x509_vfy.h>
 
  typedef int (*X509_STORE_CTX_get_issuer_fn)(X509 **issuer,
-                                             X509_STORE_CTX *ctx, X509 *x);
+                                             X509_STORE_CTX *ctx, const X509 *x);
  typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx,
-                                               X509 *x, X509 *issuer);
+                                               const X509 *x, const X509 *issuer);
  typedef int (*X509_STORE_CTX_check_revocation_fn)(X509_STORE_CTX *ctx);
  typedef int (*X509_STORE_CTX_get_crl_fn)(X509_STORE_CTX *ctx,
                                           X509_CRL **crl, X509 *x);