diff options
| author | guenther <> | 2014-04-19 11:46:39 +0000 |
|---|---|---|
| committer | guenther <> | 2014-04-19 11:46:39 +0000 |
| commit | 15e0442b8cfbbc095af4db97db7cd2b6d8dc23d0 (patch) | |
| tree | 1c4f9b095801061d57e575e80f245cef8a59a27f /src/lib/libcrypto/conf/conf_def.c | |
| parent | ac3cb5c172d4edffffbf917c401f9b4bfecea55f (diff) | |
| download | openbsd-15e0442b8cfbbc095af4db97db7cd2b6d8dc23d0.tar.gz openbsd-15e0442b8cfbbc095af4db97db7cd2b6d8dc23d0.tar.bz2 openbsd-15e0442b8cfbbc095af4db97db7cd2b6d8dc23d0.zip | |
We'll interpret a (void) cast on snprintf() to mean it's been verified that
truncation is either desirable, not an issue, or is detected and handled later
ok deraadt@
Diffstat (limited to 'src/lib/libcrypto/conf/conf_def.c')
| -rw-r--r-- | src/lib/libcrypto/conf/conf_def.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/conf/conf_def.c b/src/lib/libcrypto/conf/conf_def.c index 26aee50a45..5ab995a5c0 100644 --- a/src/lib/libcrypto/conf/conf_def.c +++ b/src/lib/libcrypto/conf/conf_def.c | |||
| @@ -435,7 +435,7 @@ err: | |||
| 435 | if (buff != NULL) BUF_MEM_free(buff); | 435 | if (buff != NULL) BUF_MEM_free(buff); |
| 436 | if (section != NULL) free(section); | 436 | if (section != NULL) free(section); |
| 437 | if (line != NULL) *line=eline; | 437 | if (line != NULL) *line=eline; |
| 438 | (void) snprintf(btmp,sizeof btmp,"%ld",eline); | 438 | snprintf(btmp,sizeof btmp,"%ld",eline); |
| 439 | ERR_add_error_data(2,"line ",btmp); | 439 | ERR_add_error_data(2,"line ",btmp); |
| 440 | if ((h != conf->data) && (conf->data != NULL)) | 440 | if ((h != conf->data) && (conf->data != NULL)) |
| 441 | { | 441 | { |
