X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fapps.c;h=b99996e944cd7e4c69f33677506c46157a9baac5;hp=c5a3bb27e476b4ca8b23760c2cf93e52ed954cba;hb=a4cc3c8041104896d51ae12ef7b678c31808ce52;hpb=19f65ddbab30543415584ae7916e12a3c5249dba diff --git a/apps/apps.c b/apps/apps.c index c5a3bb27e4..b99996e944 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -3133,7 +3133,7 @@ double app_tminterval(int stop,int usertime) if (proc==NULL) { - if (GetVersion() < 0x80000000) + if (check_winnt()) proc = OpenProcess(PROCESS_QUERY_INFORMATION,FALSE, GetCurrentProcessId()); if (proc==NULL) proc = (HANDLE)-1;