speed.c: typo in pkey_print_message [from HEAD].
authorAndy Polyakov <appro@openssl.org>
Wed, 11 Jan 2012 21:49:16 +0000 (21:49 +0000)
committerAndy Polyakov <appro@openssl.org>
Wed, 11 Jan 2012 21:49:16 +0000 (21:49 +0000)
PR: 2681
Submitted by: Annie Yousar

apps/speed.c

index 5c3c2560cf05e6da2d15db88f61d2c5bd432fd18..8358b12fddb16c53a6891482189e0eebd2b3ab77 100644 (file)
@@ -2597,7 +2597,7 @@ static void pkey_print_message(const char *str, const char *str2, long num,
        BIO_printf(bio_err,mr ? "+DTP:%d:%s:%s:%d\n"
                           : "Doing %d bit %s %s's for %ds: ",bits,str,str2,tm);
        (void)BIO_flush(bio_err);
-       alarm(RSA_SECONDS);
+       alarm(tm);
 #else
        BIO_printf(bio_err,mr ? "+DNP:%ld:%d:%s:%s\n"
                           : "Doing %ld %d bit %s %s's: ",num,bits,str,str2);