Page MenuHomeFreeBSD

D20034.diff
No OneTemporary

D20034.diff

Index: head/tests/sys/opencrypto/cryptotest.py
===================================================================
--- head/tests/sys/opencrypto/cryptotest.py
+++ head/tests/sys/opencrypto/cryptotest.py
@@ -42,7 +42,9 @@
katdir = '/usr/local/share/nist-kat'
def katg(base, glob):
- assert os.path.exists(os.path.join(katdir, base)), "Please 'pkg install nist-kat'"
+ assert os.path.exists(katdir), "Please 'pkg install nist-kat'"
+ if not os.path.exists(os.path.join(katdir, base)):
+ raise unittest.SkipTest("Missing %s test vectors" % (base))
return iglob(os.path.join(katdir, base, glob))
aesmodules = [ 'cryptosoft0', 'aesni0', 'ccr0', 'ccp0' ]

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 14, 9:19 PM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16648091
Default Alt Text
D20034.diff (659 B)

Event Timeline