more bug fix
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
2010-11-05 NIIBE Yutaka <gniibe@fsij.org>
|
||||
|
||||
Bug fix.
|
||||
Bug fixes.
|
||||
* src/openpgp.c (gpg_change_keystring): Handle
|
||||
GPG_KEY_FOR_AUTHENTICATION.
|
||||
* src/openpgp-do.c (gpg_do_write_prvkey): Remove multiple call
|
||||
of flash_do_release.
|
||||
|
||||
Bug fixes.
|
||||
* src/openpgp-do.c (gpg_do_write_prvkey): compare with != operator.
|
||||
|
||||
@@ -656,7 +656,6 @@ gpg_do_write_prvkey (enum kind_of_key kk, const uint8_t *key_data, int key_len,
|
||||
dek = pd->dek_encrypted_3;
|
||||
memcpy (pd->dek_encrypted_1, dek, DATA_ENCRYPTION_KEY_SIZE);
|
||||
memset (pd->dek_encrypted_2, 0, DATA_ENCRYPTION_KEY_SIZE);
|
||||
flash_do_release (do_data);
|
||||
gpg_do_write_simple (NR_DO_KEYSTRING_PW1, NULL, 0);
|
||||
gpg_do_write_simple (NR_DO_KEYSTRING_RC, NULL, 0);
|
||||
flash_key_release (pd->key_addr);
|
||||
|
||||
Reference in New Issue
Block a user