libsec: fix wrong assert condition (introduced in 775a4bea43
)
This commit is contained in:
parent
5e2bf722c3
commit
e54b6c6cbd
1 changed files with 1 additions and 1 deletions
|
@ -2350,7 +2350,7 @@ tlsP(uchar *buf, int nbuf, uchar *key, int nkey, uchar *label, int nlabel, uchar
|
||||||
DigestState *s;
|
DigestState *s;
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
assert(sizeof(ai) <= xlen && sizeof(tmp) <= xlen);
|
assert(xlen <= sizeof(ai) && xlen <= sizeof(tmp));
|
||||||
// generate a1
|
// generate a1
|
||||||
s = x(label, nlabel, key, nkey, nil, nil);
|
s = x(label, nlabel, key, nkey, nil, nil);
|
||||||
x(seed, nseed, key, nkey, ai, s);
|
x(seed, nseed, key, nkey, ai, s);
|
||||||
|
|
Loading…
Reference in a new issue