X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=fuzz%2Fclient.c;h=104938f42dd8ea552b0cf70f45a3be799e59f049;hp=622d782b2cb3783f07bf41cab3e02b5f81905e7f;hb=29b0cab0174e1c1d02e549c0aaa2b08ab3051bd2;hpb=14a6570f318562faf850f842ef3ce56f54ddc890 diff --git a/fuzz/client.c b/fuzz/client.c index 622d782b2c..104938f42d 100644 --- a/fuzz/client.c +++ b/fuzz/client.c @@ -31,15 +31,13 @@ static int idx; #define TIME_IMPL(t) { if (t != NULL) *t = FUZZTIME; return FUZZTIME; } /* - * This might not in all cases and still get the current time - * instead of the fixed time. This will just result in things - * not being fully reproducible and have a slightly different - * coverage. + * This might not work in all cases (and definitely not on Windows + * because of the way linkers are) and callees can still get the + * current time instead of the fixed time. This will just result + * in things not being fully reproducible and have a slightly + * different coverage. */ -#if defined(_WIN32) && defined(_TIME64_T_DEFINED) -time64_t _time64(time64_t *t) TIME_IMPL(t) -#endif -#if !defined(_WIN32) || !defined(_MSC_VER) +#if !defined(_WIN32) time_t time(time_t *t) TIME_IMPL(t) #endif