summaryrefslogtreecommitdiffstats
path: root/crypto/userspace/libtomcrypt/pk/rsa/rsa_import.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-27 09:40:53 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-27 09:44:36 +0200
commit5d08c95e8a0101f156cf1afe8b2fae8487d1cfce (patch)
tree2510e52b0992afb90b3a9a86ce07b8a2fd26f6f4 /crypto/userspace/libtomcrypt/pk/rsa/rsa_import.c
parentd5d46ca491d8974ac1eaf7bad3d69e468e49dc34 (diff)
parent9cab3a1a9660ed5f798b063aa7e827eb0c95ba94 (diff)
downloadkernel-crypto-5d08c95e8a0101f156cf1afe8b2fae8487d1cfce.tar.gz
kernel-crypto-5d08c95e8a0101f156cf1afe8b2fae8487d1cfce.tar.xz
kernel-crypto-5d08c95e8a0101f156cf1afe8b2fae8487d1cfce.zip
Merge branch 'standalone-rename' into userspace-crypto
Conflicts: .gitignore crypto/userspace/Makefile crypto/userspace/cryptodev_int.h crypto/userspace/ncr-key-wrap.c crypto/userspace/ncr-key.c crypto/userspace/ncr-pk.c crypto/userspace/ncr-sessions.c crypto/userspace/ncr.c include/linux/cryptodev.h
Diffstat (limited to 'crypto/userspace/libtomcrypt/pk/rsa/rsa_import.c')
-rw-r--r--crypto/userspace/libtomcrypt/pk/rsa/rsa_import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/userspace/libtomcrypt/pk/rsa/rsa_import.c b/crypto/userspace/libtomcrypt/pk/rsa/rsa_import.c
index 9f3c5bfa642..87cb1030d47 100644
--- a/crypto/userspace/libtomcrypt/pk/rsa/rsa_import.c
+++ b/crypto/userspace/libtomcrypt/pk/rsa/rsa_import.c
@@ -84,7 +84,7 @@ int rsa_import(const unsigned char *in, unsigned long inlen, rsa_key *key)
}
/* it's a private key */
if ((err = der_decode_sequence_multi(in, inlen,
- LTC_ASN1_INTEGER, 1UL, zero,
+ LTC_ASN1_INTEGER, 1UL, &zero,
LTC_ASN1_INTEGER, 1UL, &key->N,
LTC_ASN1_INTEGER, 1UL, &key->e,
LTC_ASN1_INTEGER, 1UL, &key->d,