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

apps/speed.c

index 25fe24a..e8b1830 100644 (file)
@@ -2593,7 +2593,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);