From f61befd04522b7d157384040ffca1dc1a7611609 Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 20 Apr 2014 16:18:06 +0000 Subject: [PATCH] Restore beck's rev 1.3: snprintf() was reviewed --- lib/libcrypto/engine/eng_padlock.c | 2 +- lib/libssl/src/crypto/engine/eng_padlock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/engine/eng_padlock.c b/lib/libcrypto/engine/eng_padlock.c index a0076851110..d5d9a16bf24 100644 --- a/lib/libcrypto/engine/eng_padlock.c +++ b/lib/libcrypto/engine/eng_padlock.c @@ -177,7 +177,7 @@ padlock_bind_helper(ENGINE *e) #endif /* Generate a nice engine name with available features */ - snprintf(padlock_name, sizeof(padlock_name), + (void) snprintf(padlock_name, sizeof(padlock_name), "VIA PadLock (%s, %s)", padlock_use_rng ? "RNG" : "no-RNG", padlock_use_ace ? "ACE" : "no-ACE"); diff --git a/lib/libssl/src/crypto/engine/eng_padlock.c b/lib/libssl/src/crypto/engine/eng_padlock.c index a0076851110..d5d9a16bf24 100644 --- a/lib/libssl/src/crypto/engine/eng_padlock.c +++ b/lib/libssl/src/crypto/engine/eng_padlock.c @@ -177,7 +177,7 @@ padlock_bind_helper(ENGINE *e) #endif /* Generate a nice engine name with available features */ - snprintf(padlock_name, sizeof(padlock_name), + (void) snprintf(padlock_name, sizeof(padlock_name), "VIA PadLock (%s, %s)", padlock_use_rng ? "RNG" : "no-RNG", padlock_use_ace ? "ACE" : "no-ACE"); -- 2.20.1