summaryrefslogtreecommitdiffstats
path: root/crypto/userspace/ncr-pk.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-09-06 15:00:17 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-09-06 15:00:17 +0200
commitc61c13594953d462597ed18d6c77e736878ff9d9 (patch)
tree583b7cb956cb9fce6c630cc634e772942e3bbaf7 /crypto/userspace/ncr-pk.c
parent9cab3a1a9660ed5f798b063aa7e827eb0c95ba94 (diff)
parent8afc069c742f80d3e383ba3d0e38697aeeeb147b (diff)
downloadkernel-crypto-ncr-standalone-rename.tar.gz
kernel-crypto-ncr-standalone-rename.tar.xz
kernel-crypto-ncr-standalone-rename.zip
Merge branch 'standalone-master' into standalone-renamencr-standalone-rename
Conflicts: crypto/userspace/libtomcrypt/misc/qsort.c crypto/userspace/libtommath/bn_mp_and.c crypto/userspace/libtommath/bn_mp_exteuclid.c crypto/userspace/libtommath/bn_mp_jacobi.c crypto/userspace/libtommath/bn_mp_or.c crypto/userspace/libtommath/bn_mp_prime_fermat.c crypto/userspace/libtommath/bn_mp_radix_size.c crypto/userspace/libtommath/bn_mp_radix_smap.c crypto/userspace/libtommath/bn_mp_read_radix.c crypto/userspace/libtommath/bn_mp_sqrt.c crypto/userspace/libtommath/bn_mp_toradix.c crypto/userspace/libtommath/bn_mp_toradix_n.c crypto/userspace/libtommath/bn_mp_xor.c examples/Makefile examples/ncr.c examples/pk.c
Diffstat (limited to 'crypto/userspace/ncr-pk.c')
-rw-r--r--crypto/userspace/ncr-pk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/userspace/ncr-pk.c b/crypto/userspace/ncr-pk.c
index 9b9078efe38..904e8d65ace 100644
--- a/crypto/userspace/ncr-pk.c
+++ b/crypto/userspace/ncr-pk.c
@@ -123,7 +123,7 @@ static int ncr_pk_make_public_and_id( struct key_item_st * private, struct key_i
}
key_id_size = MAX_KEY_ID_SIZE;
- cret = hash_memory(_ncr_algo_to_properties("sha1"), tmp, max_size,
+ cret = hash_memory(_ncr_algo_to_properties(NCR_ALG_SHA1), tmp, max_size,
private->key_id, &key_id_size);
if (cret != CRYPT_OK) {
err();