Page MenuHomeFreeBSD

D20034.1795029841.diff
No OneTemporary

Authored By
Unknown
Size
644 B
Referenced Files
None
Subscribers
None

D20034.1795029841.diff

Index: tests/sys/opencrypto/cryptotest.py
===================================================================
--- tests/sys/opencrypto/cryptotest.py
+++ 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
Wed, Nov 18, 7:24 PM (5 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41830933
Default Alt Text
D20034.1795029841.diff (644 B)

Event Timeline