Page MenuHomeFreeBSD

D20043.diff
No OneTemporary

D20043.diff

Index: head/sys/opencrypto/cbc_mac.c
===================================================================
--- head/sys/opencrypto/cbc_mac.c
+++ head/sys/opencrypto/cbc_mac.c
@@ -82,9 +82,6 @@
uint8_t *bp = b0, flags = 0;
uint8_t L = 0;
uint64_t dataLength = ctx->cryptDataLength;
-
- KASSERT(ctx->authDataLength != 0 || ctx->cryptDataLength != 0,
- ("Auth Data and Data lengths cannot both be 0"));
KASSERT(nonceLen >= 7 && nonceLen <= 13,
("nonceLen must be between 7 and 13 bytes"));

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 3:34 PM (21 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14681611
Default Alt Text
D20043.diff (506 B)

Event Timeline