Removed printsf, an unused secure testing printf variant. This variant does not apply now that each test has its own secret.

Fixed unused variable in libtest161 in kernel compiles.
This commit is contained in:
Scott Haseley committed 2016-02-29 16:43:35 -05:00
1 parent a5963a0e31
commit e7ec655415
4 files changed
+9 -27

No files matched your search

+3 -1
View File
@@ -19,13 +19,15 @@
// Hack for allocating userspace memory without malloc.
#define BUFFER_SIZE 4096
#ifndef _KERNEL
static char temp_buffer[BUFFER_SIZE];
static char write_buffer[BUFFER_SIZE];
#endif
static inline void * _alloc(size_t size)
{
#ifdef _KERNEL
(void)temp_buffer;
return kmalloc(size);
#else
(void)size;