diff options
author | glenda <glenda@cirno.localdomain> | 2015-08-25 09:35:10 +0000 |
---|---|---|
committer | glenda <glenda@cirno.localdomain> | 2015-08-25 09:35:10 +0000 |
commit | c4fdc6bfdb2211e13643d5fba75edf437c122eef (patch) | |
tree | d5991bc7350d3058cfcefe06dfa43814e62df919 /sys/src/9/port/devtls.c | |
parent | 6b402b83cffc97015345dab1c27c35afe64bb3db (diff) |
fix fuckup
Diffstat (limited to 'sys/src/9/port/devtls.c')
-rw-r--r-- | sys/src/9/port/devtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/devtls.c b/sys/src/9/port/devtls.c index ad6750a36..6b728dba5 100644 --- a/sys/src/9/port/devtls.c +++ b/sys/src/9/port/devtls.c @@ -825,7 +825,7 @@ if(tr->debug) pdump(unpad_len, p, "decrypted:"); (*tr->packMac)(in->sec, in->sec->mackey, seq, header, p, len, hmac); if(unpad_len < in->sec->maclen) rcvError(tr, EBadRecordMac, "short record mac"); - if(constcmp(hmac, p+len, in->sec->maclen) != 0) + if(memcmp(hmac, p+len, in->sec->maclen) != 0) rcvError(tr, EBadRecordMac, "record mac mismatch"); b->rp = p; b->wp = p+len; |