File libgcrypt-1.10.0-allow_FSM_same_state.patch of Package libgcrypt.38414
Index: libgcrypt-1.10.3/src/fips.c =================================================================== --- libgcrypt-1.10.3.orig/src/fips.c +++ libgcrypt-1.10.3/src/fips.c @@ -1117,6 +1117,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;