summaryrefslogtreecommitdiff
path: root/smult_curve25519_ref.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-08-04 00:55:06 +0000
committerDamien Miller <djm@mindrot.org>2018-08-06 11:07:17 +1000
commit967226a1bdde59ea137e8f0df871854ff7b91366 (patch)
tree59392d040b5d6f8762955db701bde5ef2f075b88 /smult_curve25519_ref.c
parent74287f5df9966a0648b4a68417451dd18f079ab8 (diff)
upstream: invalidate dh->priv_key after freeing it in error path;
avoids unlikely double-free later. Reported by Viktor Dukhovni via https://github.com/openssh/openssh-portable/pull/96 feedback jsing@ tb@ OpenBSD-Commit-ID: e317eb17c3e05500ae851f279ef6486f0457c805
Diffstat (limited to 'smult_curve25519_ref.c')
0 files changed, 0 insertions, 0 deletions