New functions to set lookup_crls callback and to retrieve internal X509_STORE