Cleanup of crypto.c in wc-classic to prepare for certificate updates during runtime