summaryrefslogtreecommitdiffstats
path: root/lib/hcrypto/validate.c
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2011-10-08 04:08:44 +0000
committerstas <stas@FreeBSD.org>2011-10-08 04:08:44 +0000
commit2db247d3fc10ef5304f61dbd66448efff8cc6684 (patch)
tree353454e541452788c2b3c59d1fb19ada4daf5646 /lib/hcrypto/validate.c
parent33f661cecdad3182ee66b47805fa4bb212e0da6c (diff)
downloadFreeBSD-src-2db247d3fc10ef5304f61dbd66448efff8cc6684.zip
FreeBSD-src-2db247d3fc10ef5304f61dbd66448efff8cc6684.tar.gz
- Update vendor tree of heimdal to 1.5.1.
Diffstat (limited to 'lib/hcrypto/validate.c')
-rw-r--r--lib/hcrypto/validate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hcrypto/validate.c b/lib/hcrypto/validate.c
index 48b9bfc..6f61cc5 100644
--- a/lib/hcrypto/validate.c
+++ b/lib/hcrypto/validate.c
@@ -56,7 +56,7 @@ struct tests {
void *outiv;
};
-struct tests tests[] = {
+static struct tests hc_tests[] = {
{
EVP_aes_256_cbc,
"aes-256",
@@ -300,8 +300,8 @@ hcrypto_validate(void)
return;
validated++;
- for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++)
- test_cipher(&tests[i]);
+ for (i = 0; i < sizeof(hc_tests) / sizeof(hc_tests[0]); i++)
+ test_cipher(&hc_tests[i]);
check_hmac();
}
OpenPOWER on IntegriCloud