Skip to content

Fix pkeyopts to not range on map#9

Merged
eleniums merged 3 commits intoemtammaru:masterfrom
eleniums:fix/set-pkeyopt
Apr 30, 2021
Merged

Fix pkeyopts to not range on map#9
eleniums merged 3 commits intoemtammaru:masterfrom
eleniums:fix/set-pkeyopt

Conversation

@eleniums
Copy link
Collaborator

Map order on range is nondeterministic, but some of the pkeyopts need to be set in a specific order. In this case, rsa_padding_mode needs to be set before rsa_pss_saltlen. This was causing some pss documents to randomly fail if salt length was set before the padding mode, which happened due to the randomness of ranging over a map.

Map order on range is nondeterministic, but some of the pkeyopts need to be set in a specific order. In this case, rsa_padding_mode needs to be set before rsa_pss_saltlen. This was causing some pss documents to randomly fail if salt length was set before the padding mode.
@eleniums eleniums merged commit d88254e into emtammaru:master Apr 30, 2021
@eleniums eleniums deleted the fix/set-pkeyopt branch April 30, 2021 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants