doc: fix macro name
authorPauli <ppzgs1@gmail.com>
Wed, 24 Nov 2021 03:32:47 +0000 (13:32 +1000)
committerPauli <ppzgs1@gmail.com>
Thu, 25 Nov 2021 06:04:41 +0000 (16:04 +1000)
OSSL_STORE_INFO_X509 doesn't exist.  It should be OSSL_STORE_INFO_CERT.

Fixes #17121

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17125)

(cherry picked from commit 01fde90eec721b64bc0e1c01cd94a9fd431adcc6)

doc/man7/ossl_store.pod

index 68503cd0929df1a832a6837ca6cc4410d7843e25..a2c6260061fdc47b430ee9db146c9c09f626db95 100644 (file)
@@ -58,7 +58,7 @@ other encoding is undefined.
       * here just one example
       */
      switch (OSSL_STORE_INFO_get_type(info)) {
-     case OSSL_STORE_INFO_X509:
+     case OSSL_STORE_INFO_CERT:
          /* Print the X.509 certificate text */
          X509_print_fp(stdout, OSSL_STORE_INFO_get0_CERT(info));
          /* Print the X.509 certificate PEM output */