]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix mistake in ERR_peek_error_all documentation.
authorKevin Jones <kevin@vcsjones.com>
Sat, 15 Jan 2022 01:38:41 +0000 (01:38 +0000)
committerPauli <pauli@openssl.org>
Tue, 18 Jan 2022 02:32:37 +0000 (13:32 +1100)
The `func` parameter was incorrect. It was documented as `const char *func`
instead of `const char **func`.

CLA: trivial

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

doc/man3/ERR_get_error.pod

index b5374e7652d312d5fb5d78f515317090e404dce9..4019bdd54169663c0048419b0f8ffe17663f8402 100644 (file)
@@ -31,7 +31,7 @@ ERR_get_error_line_data, ERR_peek_error_line_data, ERR_peek_last_error_line_data
                                  const char **func,
                                  const char **data, int *flags);
  unsigned long ERR_peek_error_all(const char **file, int *line,
-                                  const char *func,
+                                  const char **func,
                                   const char **data, int *flags);
  unsigned long ERR_peek_last_error_all(const char **file, int *line,
                                        const char *func,