]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Skip tests with missing test vectors instead of failing.
authorjhb <jhb@FreeBSD.org>
Wed, 24 Apr 2019 00:10:21 +0000 (00:10 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 24 Apr 2019 00:10:21 +0000 (00:10 +0000)
commit8067938fb768e2b7f3752d636c91aef2e1aa38e7
treeefe9bca14115f063e74cbdd97d3eae75b008458d
parent6c11b0ee9cfec66600d4b70f828be11059c91c31
Skip tests with missing test vectors instead of failing.

This copes more gracefully when older version of the nist-kat package
are intalled that don't have newer test vectors such as CCM or plain
SHA.

If the nist-kat package is not installed at all, this still fails with
an error.

Reviewed by: cem
MFC after: 1 month
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D20034
tests/sys/opencrypto/cryptotest.py