We don't need both _STAND and _STANDALONE. There's more places that
use _STANDALONE, so change the former to the latter. Sponsored by: Netflix
This commit is contained in:
parent
b65d776328
commit
3a7d67e741
@ -45,7 +45,6 @@ SRCS+= rijndael-alg-fst.c rijndael-api-fst.c rijndael-api.c
|
||||
|
||||
# local GELI Implementation
|
||||
.PATH: ${SYSDIR}/geom/eli
|
||||
CFLAGS+= -D_STAND
|
||||
SRCS+= geliboot_crypto.c g_eli_hmac.c g_eli_key.c g_eli_key_cache.c pkcs5v2.c
|
||||
|
||||
# aes
|
||||
|
@ -89,7 +89,7 @@ pkcs5v2_genkey(uint8_t *key, unsigned keylen, const uint8_t *salt,
|
||||
}
|
||||
|
||||
#ifndef _KERNEL
|
||||
#ifndef _STAND
|
||||
#ifndef _STANDALONE
|
||||
/*
|
||||
* Return the number of microseconds needed for 'interations' iterations.
|
||||
*/
|
||||
@ -127,5 +127,5 @@ pkcs5v2_calculate(int usecs)
|
||||
}
|
||||
return (((intmax_t)iterations * (intmax_t)usecs) / v);
|
||||
}
|
||||
#endif /* !_STAND */
|
||||
#endif /* !_STANDALONE */
|
||||
#endif /* !_KERNEL */
|
||||
|
@ -34,7 +34,7 @@
|
||||
#define KMALLOC(size, type, flags) malloc(size, type, flags)
|
||||
#define KFREE(ptr, type) free(ptr, type)
|
||||
#else /* not _KERNEL */
|
||||
#ifdef _STAND
|
||||
#ifdef _STANDALONE
|
||||
#include <stand.h>
|
||||
#else /* !_STAND */
|
||||
#include <stdlib.h>
|
||||
|
@ -40,7 +40,7 @@
|
||||
#ifndef _SYS_ERRNO_H_
|
||||
#define _SYS_ERRNO_H_
|
||||
|
||||
#if !defined(_KERNEL) && !defined(_STAND)
|
||||
#if !defined(_KERNEL) && !defined(_STANDALONE)
|
||||
#include <sys/cdefs.h>
|
||||
__BEGIN_DECLS
|
||||
int * __error(void);
|
||||
|
Loading…
Reference in New Issue
Block a user