summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2004-11-25 18:21:26 +0000
committerDr. Stephen Henson <steve@openssl.org>2004-11-25 18:21:26 +0000
commit1582a4073e5092354a9a7e3b043ec8b60a3fcf5e (patch)
treeed04d64e163dcd4afc98972338176f37aed50606 /doc
parent401ee37a3e3d414567e7fa7e683fc176cb12411e (diff)
downloadopenssl-new-1582a4073e5092354a9a7e3b043ec8b60a3fcf5e.tar.gz
Add errstr manual page
Diffstat (limited to 'doc')
-rw-r--r--doc/apps/errstr.pod39
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/apps/errstr.pod b/doc/apps/errstr.pod
new file mode 100644
index 0000000000..b3c6ccfc9c
--- /dev/null
+++ b/doc/apps/errstr.pod
@@ -0,0 +1,39 @@
+=pod
+
+=head1 NAME
+
+errstr - lookup error codes
+
+=head1 SYNOPSIS
+
+B<openssl errstr error_code>
+
+=head1 DESCRIPTION
+
+Sometimes an application will not load error message and only
+numerical forms will be available. The B<errstr> utility can be used to
+display the meaning of the hex code. The hex code is the hex digits after the
+second colon.
+
+=head1 EXAMPLE
+
+The error code:
+
+ 27594:error:2006D080:lib(32):func(109):reason(128):bss_file.c:107:
+
+can be displayed with:
+
+ openssl errstr 2006D080
+
+to produce the error message:
+
+ error:2006D080:BIO routines:BIO_new_file:no such file
+
+=head1 SEE ALSO
+
+L<err(3)|err(3)>,
+L<ERR_load_crypto_strings(3)|ERR_load_crypto_strings(3)>,
+L<SSL_load_error_strings(3)|SSL_load_error_strings(3)>
+
+
+=cut