diff options
| author | guenther <> | 2014-04-19 11:46:39 +0000 |
|---|---|---|
| committer | guenther <> | 2014-04-19 11:46:39 +0000 |
| commit | f376030ff7fe24f4ad44a56c2d8ba8796c9ab3f0 (patch) | |
| tree | 1c4f9b095801061d57e575e80f245cef8a59a27f /src/lib/libcrypto/x509/by_dir.c | |
| parent | 597610ccf04bbca4e88fac7988877d0a06e02211 (diff) | |
| download | openbsd-f376030ff7fe24f4ad44a56c2d8ba8796c9ab3f0.tar.gz openbsd-f376030ff7fe24f4ad44a56c2d8ba8796c9ab3f0.tar.bz2 openbsd-f376030ff7fe24f4ad44a56c2d8ba8796c9ab3f0.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/x509/by_dir.c')
| -rw-r--r-- | src/lib/libcrypto/x509/by_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/by_dir.c b/src/lib/libcrypto/x509/by_dir.c index 749323be1e..ee1838a583 100644 --- a/src/lib/libcrypto/x509/by_dir.c +++ b/src/lib/libcrypto/x509/by_dir.c | |||
| @@ -336,7 +336,7 @@ get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name, | |||
| 336 | hent = NULL; | 336 | hent = NULL; |
| 337 | } | 337 | } |
| 338 | for (;;) { | 338 | for (;;) { |
| 339 | (void) snprintf(b->data, b->max, "%s/%08lx.%s%d", | 339 | snprintf(b->data, b->max, "%s/%08lx.%s%d", |
| 340 | ent->dir, h, postfix, k); | 340 | ent->dir, h, postfix, k); |
| 341 | 341 | ||
| 342 | #ifndef OPENSSL_NO_POSIX_IO | 342 | #ifndef OPENSSL_NO_POSIX_IO |
