Hm; looks like the callback business was unnecessary, since DHparams_dup() copies...