Commit 5331430606 for openssl.org
commit 5331430606c1c6a79ec236337ec04ccaba7da0e6
Author: ylfeid <261695633+ylfeid@users.noreply.github.com>
Date: Thu Oct 22 21:11:58 2026 +0200
doc/man3/d2i_X509.pod: remove non-const i2d_TYPE prototypes from SYNOPSIS
Since OpenSSL 3.0 the i2d_TYPE(), i2d_TYPE_fp() and i2d_TYPE_bio()
functions take a const TYPE argument. The SYNOPSIS still listed
the old non-const prototypes alongside the const ones, so each function
appeared twice. Drop the stale non-const lines.
Resolves: https://github.com/openssl/openssl/issues/33182
CLA: trivial
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Merge-date: Sun Nov 1 15:25:01 2026
Merged-from: https://github.com/openssl/openssl/pull/33336
diff --git a/doc/man3/d2i_X509.pod b/doc/man3/d2i_X509.pod
index b37855da16..f880002c39 100644
--- a/doc/man3/d2i_X509.pod
+++ b/doc/man3/d2i_X509.pod
@@ -454,11 +454,8 @@ i2d_X509_VAL,
TYPE *d2i_TYPE_fp(FILE *fp, TYPE **a);
int i2d_TYPE(const TYPE *a, unsigned char **ppout);
- int i2d_TYPE(TYPE *a, unsigned char **ppout);
int i2d_TYPE_fp(FILE *fp, const TYPE *a);
- int i2d_TYPE_fp(FILE *fp, TYPE *a);
int i2d_TYPE_bio(BIO *bp, const TYPE *a);
- int i2d_TYPE_bio(BIO *bp, TYPE *a);
=head1 DESCRIPTION