diff options
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); } |