fix manpage of `d2i_X509(3)`
authorNobuhiro IMAI <nov@yo.rim.or.jp>
Tue, 10 Jan 2023 09:44:44 +0000 (18:44 +0900)
committerTomas Mraz <tomas@openssl.org>
Thu, 12 Jan 2023 09:55:14 +0000 (10:55 +0100)
* capitalize `X509_NAME`
* add missing suffixes to `i2d_TYPE`

CLA: trivial

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20016)

doc/man3/d2i_X509.pod

index 2bb1522f05dd4bfbcdc354a8bba861ca47e16c0e..ed9ed062d22198ac6ca1e99422ba16c43f79c199 100644 (file)
@@ -469,7 +469,7 @@ Represents an ECDSA signature.
 Represents an B<AlgorithmIdentifier> structure as used in IETF RFC 6960 and
 elsewhere.
 
-=item B<X509_Name>
+=item B<X509_NAME>
 
 Represents a B<Name> type as used for subject and issuer names in
 IETF RFC 6960 and elsewhere.
@@ -588,7 +588,7 @@ fixed in future so code should not assume that B<i2d_I<TYPE>>() will
 always succeed.
 
 Any function which encodes a structure (B<i2d_I<TYPE>>(),
-B<i2d_I<TYPE>>() or B<i2d_I<TYPE>>()) may return a stale encoding if the
+B<i2d_I<TYPE>_bio>() or B<i2d_I<TYPE>_fp>()) may return a stale encoding if the
 structure has been modified after deserialization or previous
 serialization. This is because some objects cache the encoding for
 efficiency reasons.