Showing the changes to libsec (1 of 1 file). Show all
Unified · Split
| @@ -2354,7 +2354,7 @@ tlsP(uchar *buf, int nbuf, uchar *key, int nkey, uchar *label, int nlabel, uchar · 2353 unmodified lines | ||
| 2354 | 2354 | DigestState *s; |
| 2355 | 2355 | int n; |
| 2356 | 2356 | |
| 2357 | − assert(sizeof(ai) <= xlen && sizeof(tmp) <= xlen); | |
| 2357 | + assert(xlen <= sizeof(ai) && xlen <= sizeof(tmp)); | |
| 2358 | 2358 | // generate a1 |
| 2359 | 2359 | s = x(label, nlabel, key, nkey, nil, nil); |
| 2360 | 2360 | x(seed, nseed, key, nkey, ai, s); |