mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
Use own time functions
This commit is contained in:
@@ -43,6 +43,7 @@ set(src
|
||||
src/ec.c
|
||||
src/rsa.c
|
||||
src/asn1.c
|
||||
src/u_time.c
|
||||
src/hex.c
|
||||
src/base64.c
|
||||
src/pem.c
|
||||
@@ -109,7 +110,7 @@ endif()
|
||||
|
||||
|
||||
if (WIN32)
|
||||
list(APPEND src src/u_time.c)
|
||||
# list(APPEND src src/u_time.c)
|
||||
list(APPEND src src/rand_win.c)
|
||||
elseif (APPLE)
|
||||
list(APPEND src src/rand_apple.c)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <gmssl/asn1.h>
|
||||
#include <gmssl/error.h>
|
||||
#include <gmssl/endian.h>
|
||||
|
||||
#define WIN32 // only for use own time functions
|
||||
#ifdef WIN32
|
||||
#include "u_time.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user