File libgcrypt-1.8.4-allow_FSM_same_state.patch of Package libgcrypt.14176
Index: libgcrypt-1.8.4/src/fips.c =================================================================== --- libgcrypt-1.8.4.orig/src/fips.c +++ libgcrypt-1.8.4/src/fips.c @@ -930,6 +930,10 @@ fips_new_state (enum module_states new_s } + /* Allow a transition to the current state */ + if (current_state == new_state) + ok = 1; + if (ok) { current_state = new_state;