FS-7425: #resolve dhparams might not be present, causing a seg. Make sure they are there before we apply them