summaryrefslogtreecommitdiffstats
path: root/sys/geom/eli/pkcs5v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/eli/pkcs5v2.c')
-rw-r--r--sys/geom/eli/pkcs5v2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/eli/pkcs5v2.c b/sys/geom/eli/pkcs5v2.c
index 05677c1..6992801 100644
--- a/sys/geom/eli/pkcs5v2.c
+++ b/sys/geom/eli/pkcs5v2.c
@@ -83,6 +83,7 @@ pkcs5v2_genkey(uint8_t *key, unsigned keylen, const uint8_t *salt,
}
#ifndef _KERNEL
+#ifndef _STAND
/*
* Return the number of microseconds needed for 'interations' iterations.
*/
@@ -120,4 +121,5 @@ pkcs5v2_calculate(int usecs)
}
return (((intmax_t)iterations * (intmax_t)usecs) / v);
}
+#endif /* !_STAND */
#endif /* !_KERNEL */
OpenPOWER on IntegriCloud