| commit | e5c84d5152c11a3dfa436041d3336a6f403baad8 | [log] [tgz] |
|---|---|---|
| author | Bodo Möller <bodo@openssl.org> | Fri Apr 14 23:36:15 2000 +0000 |
| committer | Bodo Möller <bodo@openssl.org> | Fri Apr 14 23:36:15 2000 +0000 |
| tree | 3351388a5836293b03eb594d42379fca04a13d44 | |
| parent | d49f3797a5a891ebc13ea12eb64c55d1eb53c5c1 [diff] [blame] |
New function ERR_error_string_n.
diff --git a/apps/errstr.c b/apps/errstr.c index 4650379..2c62046 100644 --- a/apps/errstr.c +++ b/apps/errstr.c
@@ -104,7 +104,10 @@ for (i=1; i<argc; i++) { if (sscanf(argv[i],"%lx",&l)) - printf("%s\n",ERR_error_string(l,buf)); + { + ERR_error_string_n(l, buf, sizeof buf); + printf("%s\n",buf); + } else { printf("%s: bad error code\n",argv[i]);