forked from wolfSSL/wolfssl
move MDK5 current_time to test.h
This commit is contained in:
@ -150,8 +150,6 @@ static void ShowVersions(void)
|
|||||||
printf("3\n");
|
printf("3\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
extern double current_time(int);
|
|
||||||
|
|
||||||
int ClientBenchmarkConnections(WOLFSSL_CTX* ctx, char* host, word16 port,
|
int ClientBenchmarkConnections(WOLFSSL_CTX* ctx, char* host, word16 port,
|
||||||
int doDTLS, int benchmark, int resumeSession)
|
int doDTLS, int benchmark, int resumeSession)
|
||||||
{
|
{
|
||||||
|
@ -125,8 +125,6 @@ static int NonBlockingSSL_Accept(SSL* ssl)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern double current_time(int);
|
|
||||||
|
|
||||||
/* Echo number of bytes specified by -e arg */
|
/* Echo number of bytes specified by -e arg */
|
||||||
int ServerEchoData(SSL* ssl, int clientfd, int echoData, int throughput)
|
int ServerEchoData(SSL* ssl, int clientfd, int echoData, int throughput)
|
||||||
{
|
{
|
||||||
|
@ -1005,7 +1005,8 @@ static INLINE unsigned int my_psk_server_cb(WOLFSSL* ssl, const char* identity,
|
|||||||
|
|
||||||
return (double)tv.tv_sec + (double)tv.tv_usec / 1000000;
|
return (double)tv.tv_sec + (double)tv.tv_usec / 1000000;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
extern double current_time(int reset);
|
||||||
#endif
|
#endif
|
||||||
#endif /* USE_WINDOWS_API */
|
#endif /* USE_WINDOWS_API */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user