diff options
Diffstat (limited to 'src/lib/libcrypto/err/err.c')
| -rw-r--r-- | src/lib/libcrypto/err/err.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c index b873270c04..9b532d1f4c 100644 --- a/src/lib/libcrypto/err/err.c +++ b/src/lib/libcrypto/err/err.c | |||
| @@ -211,7 +211,6 @@ static ERR_STRING_DATA ERR_str_reasons[]= | |||
| 211 | 211 | ||
| 212 | {0,NULL}, | 212 | {0,NULL}, |
| 213 | }; | 213 | }; |
| 214 | #endif | ||
| 215 | 214 | ||
| 216 | 215 | ||
| 217 | /* Define the predeclared (but externally opaque) "ERR_FNS" type */ | 216 | /* Define the predeclared (but externally opaque) "ERR_FNS" type */ |
| @@ -492,7 +491,6 @@ static int int_err_get_next_lib(void) | |||
| 492 | } | 491 | } |
| 493 | 492 | ||
| 494 | 493 | ||
| 495 | #ifndef OPENSSL_NO_ERR | ||
| 496 | #define NUM_SYS_STR_REASONS 127 | 494 | #define NUM_SYS_STR_REASONS 127 |
| 497 | #define LEN_SYS_STR_REASON 32 | 495 | #define LEN_SYS_STR_REASON 32 |
| 498 | 496 | ||
| @@ -1025,7 +1023,7 @@ void ERR_add_error_data(int num, ...) | |||
| 1025 | else | 1023 | else |
| 1026 | str=p; | 1024 | str=p; |
| 1027 | } | 1025 | } |
| 1028 | strcat(str,a); | 1026 | strlcat(str,a,s+1); |
| 1029 | } | 1027 | } |
| 1030 | } | 1028 | } |
| 1031 | ERR_set_error_data(str,ERR_TXT_MALLOCED|ERR_TXT_STRING); | 1029 | ERR_set_error_data(str,ERR_TXT_MALLOCED|ERR_TXT_STRING); |
