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/engine/eng_padlock.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/engine/eng_padlock.c')
| -rw-r--r-- | src/lib/libcrypto/engine/eng_padlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/engine/eng_padlock.c b/src/lib/libcrypto/engine/eng_padlock.c index d5d9a16bf2..a007685111 100644 --- a/src/lib/libcrypto/engine/eng_padlock.c +++ b/src/lib/libcrypto/engine/eng_padlock.c | |||
| @@ -177,7 +177,7 @@ padlock_bind_helper(ENGINE *e) | |||
| 177 | #endif | 177 | #endif |
| 178 | 178 | ||
| 179 | /* Generate a nice engine name with available features */ | 179 | /* Generate a nice engine name with available features */ |
| 180 | (void) snprintf(padlock_name, sizeof(padlock_name), | 180 | snprintf(padlock_name, sizeof(padlock_name), |
| 181 | "VIA PadLock (%s, %s)", | 181 | "VIA PadLock (%s, %s)", |
| 182 | padlock_use_rng ? "RNG" : "no-RNG", | 182 | padlock_use_rng ? "RNG" : "no-RNG", |
| 183 | padlock_use_ace ? "ACE" : "no-ACE"); | 183 | padlock_use_ace ? "ACE" : "no-ACE"); |
