common: Minor fixes for the new private-keys.c.