Initial experimental support for X9.42 DH parameter format to handle
[oweals/openssl.git] / apps / speed.c
index ffc50265ee28c4792ad1bd5885801835941dc2c8..8358b12fddb16c53a6891482189e0eebd2b3ab77 100644 (file)
 
 #if defined(_WIN32) || defined(__CYGWIN__)
 #include <windows.h>
-# if defined(__CYGwIN__) && !defined(_WIN32)
+# if defined(__CYGWIN__) && !defined(_WIN32)
   /* <windows.h> should define _WIN32, which normally is mutually
    * exclusive with __CYGWIN__, but if it didn't... */
 #  define _WIN32
@@ -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);