summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-11-05 18:30:47 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-10 19:20:20 +0800
commit5829cc8da94f500b0c1fe82688d89fd36a1a9a41 (patch)
tree570141e078eadcbf1f8548314388afdb9f5baf2d /crypto
parentccd9888f14a8019c0bbdeeae758aba1f58693712 (diff)
crypto: qat - Clean up error handling in qat_dh_set_secret()
Update the error handling in qat_dh_set_secret() to mirror dh_set_secret(). The new version is less error-prone because freeing memory and setting the pointers to NULL is now only done in one place. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions