diff options
| author | Werner Koch <[email protected]> | 2006-06-30 09:42:08 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2006-06-30 09:42:08 +0000 |
| commit | 6c208fea3275e7d9244842811e8a5eefeb255e5f (patch) | |
| tree | b98d77626ae598b03138f84ff2b1682c7e8733db /g10/card-util.c | |
| parent | Remove stale lockfiles if created on the same node. (diff) | |
| download | gnupg-6c208fea3275e7d9244842811e8a5eefeb255e5f.tar.gz gnupg-6c208fea3275e7d9244842811e8a5eefeb255e5f.zip | |
A couple of fixes. gpg2's key generation does now work.
Diffstat (limited to 'g10/card-util.c')
| -rw-r--r-- | g10/card-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/card-util.c b/g10/card-util.c index b5a036e54..b7da1ba98 100644 --- a/g10/card-util.c +++ b/g10/card-util.c @@ -1271,7 +1271,7 @@ card_store_subkey (KBNODE node, int use) sk->skey[i] = NULL; } i = pubkey_get_npkey (sk->pubkey_algo); - sk->skey[i] = mpi_set_opaque (NULL, xstrdup ("dummydata"), 10); + sk->skey[i] = gcry_mpi_set_opaque (NULL, xstrdup ("dummydata"), 10*8); sk->is_protected = 1; sk->protect.s2k.mode = 1002; s = info.serialno; |
