Fix doc typo.
authorMatt Smart <mattsmart@gmail.com>
Wed, 2 Jul 2014 02:43:42 +0000 (03:43 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 2 Jul 2014 02:45:14 +0000 (03:45 +0100)
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)

doc/crypto/ERR_get_error.pod

index 828ecf529b2e24bf8aad0c61799fecb8afca7769..01e196c95fda672fd384a4309af0d81ec89d3108 100644 (file)
@@ -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