summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-31 00:47:25 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-31 00:47:25 +0200
commit55102a0b16c1e881e327f5f866c4900449681f11 (patch)
tree26c29009aef59e023ffbd2c56de7087fd9506f30
parent2156776fa587619559d9993879025c20677062ab (diff)
parent2568f1b50cd5cbabbd335e6f34bdfce677d1e608 (diff)
downloadkernel-crypto-55102a0b16c1e881e327f5f866c4900449681f11.tar.gz
kernel-crypto-55102a0b16c1e881e327f5f866c4900449681f11.tar.xz
kernel-crypto-55102a0b16c1e881e327f5f866c4900449681f11.zip
Merge branch 'bugfixes'
-rw-r--r--ncr-key-wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncr-key-wrap.c b/ncr-key-wrap.c
index cb431c9b5aa..33c2627d642 100644
--- a/ncr-key-wrap.c
+++ b/ncr-key-wrap.c
@@ -403,7 +403,7 @@ val64_t * R = NULL;
ret = rfc3394_unwrap(wrapped_key, R, n, A, &ctx);
if (ret < 0) {
err();
- return ret;
+ goto cleanup;
}
if (memcmp(A, iv, 8)!= 0) {