Restore beck's rev 1.3: snprintf() was reviewed
authorguenther <guenther@openbsd.org>
Sun, 20 Apr 2014 16:18:06 +0000 (16:18 +0000)
committerguenther <guenther@openbsd.org>
Sun, 20 Apr 2014 16:18:06 +0000 (16:18 +0000)
lib/libcrypto/engine/eng_padlock.c
lib/libssl/src/crypto/engine/eng_padlock.c

index a007685..d5d9a16 100644 (file)
@@ -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");
index a007685..d5d9a16 100644 (file)
@@ -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");