not have prototypes for {afs,mit}_string_to_key(), but this was easier to fix without unknown side effects.