diff options
author | segfault <toni@impl.cc> | 2020-12-12 20:10:35 +0100 |
---|---|---|
committer | segfault <toni@impl.cc> | 2020-12-12 20:10:35 +0100 |
commit | 16979dc8f66202fa21e2d68a73071cb8c90c37f8 (patch) | |
tree | 07ee6567c94123f13d14b7d737bf341db00c3126 /KMemDriver/Crypto.c | |
parent | 2c2383838ce791392782aeb5ca3cd0607c92e22e (diff) | |
parent | e6d0ce32b43b6013779268768ff9d136a1e537f9 (diff) |
Fixed typ0.
Diffstat (limited to 'KMemDriver/Crypto.c')
-rw-r--r-- | KMemDriver/Crypto.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/KMemDriver/Crypto.c b/KMemDriver/Crypto.c index 853623a..3d4c35e 100644 --- a/KMemDriver/Crypto.c +++ b/KMemDriver/Crypto.c @@ -8,18 +8,25 @@ struct crypt_data { UINT8 used; }; -static struct crypt_data * data = NULL; +static struct crypt_data* data = NULL; static size_t data_used = 0; void CryptoInit(PVOID fn, ...) { + SIZE_T functions = 0; va_list ap; va_start(ap, fn); + while (va_arg(ap, PVOID) != NULL) + { + functions++; + } + va_end(ap); + + va_start(ap, fn); PVOID f; while ((f = va_arg(ap, PVOID)) != NULL) { - } va_end(ap); } |