Fixed a bug @gutworth caught in load_cert_chain (I hate macros)