summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatt Smart <mattsmart@gmail.com>2014-07-02 03:43:42 +0100
committerDr. Stephen Henson <steve@openssl.org>2014-07-02 03:45:07 +0100
commita6cc0e0a0da2aff7a4bc7ae14ce7a01a4ec68228 (patch)
tree4324885f27511bab39f15b9a991b29f46184afc0 /doc
parentb2cb6dc1ef485631a614510c05f3d52447bf3c90 (diff)
Fix doc typo.
ERR_get_error(3) references the non-existent ERR_get_last_error_line_data instead of the one that does exist, ERR_peek_last_error_line_data. PR#3283 (cherry picked from commit 5cc99c6cf5e908df6b00b04af7f08e99c0698c7b)
Diffstat (limited to 'doc')
-rw-r--r--doc/crypto/ERR_get_error.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/crypto/ERR_get_error.pod b/doc/crypto/ERR_get_error.pod
index 828ecf529b..01e196c95f 100644
--- a/doc/crypto/ERR_get_error.pod
+++ b/doc/crypto/ERR_get_error.pod
@@ -49,10 +49,10 @@ additionally store the file name and line number where
the error occurred in *B<file> and *B<line>, unless these are B<NULL>.
ERR_get_error_line_data(), ERR_peek_error_line_data() and
-ERR_get_last_error_line_data() store additional data and flags
+ERR_peek_last_error_line_data() store additional data and flags
associated with the error code in *B<data>
and *B<flags>, unless these are B<NULL>. *B<data> contains a string
-if *B<flags>&B<ERR_TXT_STRING> is true.
+if *B<flags>&B<ERR_TXT_STRING> is true.
An application B<MUST NOT> free the *B<data> pointer (or any other pointers
returned by these functions) with OPENSSL_free() as freeing is handled