Skip to content

Commit

Permalink
driver.c - fixup
Browse files Browse the repository at this point in the history
 On branch Minidriver-2
 Changes to be committed:
	modified:   minidriver.c
  • Loading branch information
dengert committed Nov 24, 2024
1 parent a270c00 commit 51ffffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/minidriver/minidriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1963,8 +1963,8 @@ md_set_cmapfile(PCARD_DATA pCardData, struct md_file *file)
ec_usage |= USAGE_ANY_DECIPHER;

if (md_get_config_bool(pCardData, "md_force_sign_and_exchange", FALSE) == TRUE) {
cont->size_sign = prkey_info->modulus_length;
cont->size_key_exchange = prkey_info->modulus_length;
cont->size_sign = prkey_info->field_length;
cont->size_key_exchange = prkey_info->field_length;
} else if (md_get_config_bool(pCardData, "md_sign_and_exchange", FALSE) == TRUE) {
if (prkey_info->usage & USAGE_ANY_SIGN)
cont->size_sign = prkey_info->field_length;
Expand Down

0 comments on commit 51ffffa

Please sign in to comment.