Correct and cleanup this input validation logic for IPsec Phase 1 PSK/Cert config. In some cases the test was not being evaluated as expected.
Correct and cleanup this input validation logic for IPsec Phase 1 PSK/Cert config. In some cases the test was not being evaluated as expected.

BlackstarGroup/pfsense,phil-davis/pfsense,BlackstarGroup/pfsense,pfsense/pfsense,brunostein/pfsense,pfsense/pfsense,ch1c4um/pfsense,NewEraCracker/pfsense,phil-davis/pfsense,BlackstarGroup/pfsense,phil-davis/pfsense,dennypage/pfsense,NOYB/pfsense,jxmx/pfsense,jxmx/pfsense,jxmx/pfsense,ptorsten/pfsense,ch1c4um/pfsense,NewEraCracker/pfsense,NewEraCracker/pfsense,NewEraCracker/pfsense,brunostein/pfsense,dennypage/pfsense,dennypage/pfsense,phil-davis/pfsense,ch1c4um/pfsense,brunostein/pfsense,NOYB/pfsense,ptorsten/pfsense,NOYB/pfsense,ch1c4um/pfsense,pfsense/pfsense,dennypage/pfsense,ptorsten/pfsense,BlackstarGroup/pfsense,pfsense/pfsense