diff options
author | jmc <> | 2003-12-21 15:00:41 +0000 |
---|---|---|
committer | jmc <> | 2003-12-21 15:00:41 +0000 |
commit | d2922c993c64fa79b7a86bc65d005e119cf3b76c (patch) | |
tree | 7f53e56b323d14f36103f9fb2814e4f1f28314fa | |
parent | 6fed73646f27962cae50b554eb32f54f09277049 (diff) | |
download | openbsd-d2922c993c64fa79b7a86bc65d005e119cf3b76c.tar.gz openbsd-d2922c993c64fa79b7a86bc65d005e119cf3b76c.tar.bz2 openbsd-d2922c993c64fa79b7a86bc65d005e119cf3b76c.zip |
document (lightly) openssl errstr;
feedback from markus@
-rw-r--r-- | src/usr.sbin/openssl/openssl.1 | 31 |
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 | ||
2741 | The | 2745 | The |
2742 | .Nm errstr | 2746 | .Nm errstr |
2743 | utility is currently undocumented. | 2747 | command performs error number to error string conversion, |
2748 | generating a human-readable string representing the error code | ||
2749 | .Ar errno . | ||
2750 | The string is obtained through the | ||
2751 | .Xr ERR_error_string_n 3 | ||
2752 | function and has the following format: | ||
2753 | .Pp | ||
2754 | .Dl error:[error code]:[library name]:[function name]:[reason string] | ||
2755 | .Pp | ||
2756 | .Bq error code | ||
2757 | is an 8-digit hexadecimal number. | ||
2758 | The remaining fields | ||
2759 | .Bq library name , | ||
2760 | .Bq function name , | ||
2761 | and | ||
2762 | .Bq reason string | ||
2763 | are all ASCII text. | ||
2764 | .Pp | ||
2765 | The options are as follows: | ||
2766 | .Bl -tag -width "-stats" | ||
2767 | .It Fl stats | ||
2768 | Print 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 , |