Updated references to DH parameter bit sizes and ensure error messages are printed if generating fails entirely