summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-09-08 16:11:05 +0200
committerWerner Koch <wk@gnupg.org>2011-09-08 16:11:05 +0200
commit2175bfaaa5672e6048e4553cbdb2023d259506e6 (patch)
tree0cfd252631e0e1c50716ab4dcfbcda97b0c28444 /doc
parentf84bfb4898b3cd8b552367ea251d0b8a59a7e759 (diff)
downloadlibgcrypt-2175bfaaa5672e6048e4553cbdb2023d259506e6.tar.gz
Typo fixes.
Reported by Ivan Romanov.
Diffstat (limited to 'doc')
-rw-r--r--doc/gcrypt.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi
index 1f5e6e1c..561a8261 100644
--- a/doc/gcrypt.texi
+++ b/doc/gcrypt.texi
@@ -1208,7 +1208,7 @@ diagnostic message to the user.
@deftypefun {const char *} gcry_strsource (@w{gcry_error_t @var{err}})
-The function @code{gcry_strerror} returns a pointer to a statically
+The function @code{gcry_strsource} returns a pointer to a statically
allocated string containing a description of the error source
contained in the error value @var{err}. This string can be used to
output a diagnostic message to the user.
@@ -2586,7 +2586,7 @@ the function in @var{sig}.
@noindent
The result is 0 for success (i.e. the data matches the signature), or an
-error code where the most relevant code is @code{GCRYERR_BAD_SIGNATURE}
+error code where the most relevant code is @code{GCRY_ERR_BAD_SIGNATURE}
to indicate that the signature does not match the provided data.
@end deftypefun