doc: Avoid usage of non-existing constant
authorJakub Jelen <jjelen@redhat.com>
Wed, 23 Aug 2023 11:24:57 +0000 (13:24 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 24 Aug 2023 14:05:38 +0000 (16:05 +0200)
CLA: trivial

Fixes: #21809
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21817)

doc/man3/d2i_RSAPrivateKey.pod

index b4f5b4660900045ef4878947657b361929406dcd..5156f0edb27ad52d07bc7f14ac995757cad7a302 100644 (file)
@@ -205,7 +205,7 @@ I<selection> and I<structure> as follows:
 
 =item B<i2d_I<TYPE>PrivateKey>() translates into:
 
- int selection = EVP_PKEY_PRIVATE_KEY;
+ int selection = EVP_PKEY_KEYPAIR;
  const char *structure = "type-specific";
 
 =item B<i2d_I<TYPE>PublicKey>() translates into: