diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/err/err.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c index 0251248baf..ae9a209ad7 100644 --- a/src/lib/libcrypto/err/err.c +++ b/src/lib/libcrypto/err/err.c | |||
| @@ -872,13 +872,13 @@ void ERR_error_string_n(unsigned long e, char *buf, size_t len) | |||
| 872 | rs=ERR_reason_error_string(e); | 872 | rs=ERR_reason_error_string(e); | 
| 873 | 873 | ||
| 874 | if (ls == NULL) | 874 | if (ls == NULL) | 
| 875 | BIO_snprintf(lsbuf, sizeof(lsbuf), "lib(%lu)", l); | 875 | (void) snprintf(lsbuf, sizeof(lsbuf), "lib(%lu)", l); | 
| 876 | if (fs == NULL) | 876 | if (fs == NULL) | 
| 877 | BIO_snprintf(fsbuf, sizeof(fsbuf), "func(%lu)", f); | 877 | (void) snprintf(fsbuf, sizeof(fsbuf), "func(%lu)", f); | 
| 878 | if (rs == NULL) | 878 | if (rs == NULL) | 
| 879 | BIO_snprintf(rsbuf, sizeof(rsbuf), "reason(%lu)", r); | 879 | (void) snprintf(rsbuf, sizeof(rsbuf), "reason(%lu)", r); | 
| 880 | 880 | ||
| 881 | BIO_snprintf(buf, len,"error:%08lX:%s:%s:%s", e, ls?ls:lsbuf, | 881 | (void) snprintf(buf, len,"error:%08lX:%s:%s:%s", e, ls?ls:lsbuf, | 
| 882 | fs?fs:fsbuf, rs?rs:rsbuf); | 882 | fs?fs:fsbuf, rs?rs:rsbuf); | 
| 883 | if (strlen(buf) == len-1) | 883 | if (strlen(buf) == len-1) | 
| 884 | { | 884 | { | 
