summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2003-12-21 15:00:41 +0000
committerjmc <>2003-12-21 15:00:41 +0000
commitd2922c993c64fa79b7a86bc65d005e119cf3b76c (patch)
tree7f53e56b323d14f36103f9fb2814e4f1f28314fa /src
parent6fed73646f27962cae50b554eb32f54f09277049 (diff)
downloadopenbsd-d2922c993c64fa79b7a86bc65d005e119cf3b76c.tar.gz
openbsd-d2922c993c64fa79b7a86bc65d005e119cf3b76c.tar.bz2
openbsd-d2922c993c64fa79b7a86bc65d005e119cf3b76c.zip
document (lightly) openssl errstr;
feedback from markus@
Diffstat (limited to 'src')
-rw-r--r--src/usr.sbin/openssl/openssl.131
1 files changed, 29 insertions, 2 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1
index 9da8f52fce..2849c4ec22 100644
--- a/src/usr.sbin/openssl/openssl.1
+++ b/src/usr.sbin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.26 2003/12/19 14:52:15 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.27 2003/12/21 15:00:41 jmc Exp $
2.\" ==================================================================== 2.\" ====================================================================
3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. 3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
4.\" 4.\"
@@ -2738,9 +2738,35 @@ or RC4 with an 84-bit key with this program.
2738.\" ERRSTR 2738.\" ERRSTR
2739.\" 2739.\"
2740.Sh ERRSTR 2740.Sh ERRSTR
2741.Nm openssl errstr
2742.Op Fl stats
2743.Ar errno ...
2744.Pp
2741The 2745The
2742.Nm errstr 2746.Nm errstr
2743utility is currently undocumented. 2747command performs error number to error string conversion,
2748generating a human-readable string representing the error code
2749.Ar errno .
2750The string is obtained through the
2751.Xr ERR_error_string_n 3
2752function and has the following format:
2753.Pp
2754.Dl error:[error code]:[library name]:[function name]:[reason string]
2755.Pp
2756.Bq error code
2757is an 8-digit hexadecimal number.
2758The remaining fields
2759.Bq library name ,
2760.Bq function name ,
2761and
2762.Bq reason string
2763are all ASCII text.
2764.Pp
2765The options are as follows:
2766.Bl -tag -width "-stats"
2767.It Fl stats
2768Print debugging statistics about various aspects of the hash table.
2769.El
2744.\" 2770.\"
2745.\" GENDH 2771.\" GENDH
2746.\" 2772.\"
@@ -8110,6 +8136,7 @@ certificates.
8110.Xr crypto 3 , 8136.Xr crypto 3 ,
8111.Xr des_crypt 3 , 8137.Xr des_crypt 3 ,
8112.Xr dsa 3 , 8138.Xr dsa 3 ,
8139.Xr ERR_error_string_n 3 ,
8113.Xr HMAC 3 , 8140.Xr HMAC 3 ,
8114.Xr md4 3 , 8141.Xr md4 3 ,
8115.Xr md5 3 , 8142.Xr md5 3 ,