]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
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:05:27 +0000 (16:05 +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 b70619685103ec39d8da373d00e9542a1efbcc01..dd23d76fa5afbf4294bdd6d4d5258fb73a5fd039 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 */