clear dso pointer in case of an error
[openssl.git] / engines / e_aep.c
index f3e27fb..c175a18 100644 (file)
@@ -479,6 +479,7 @@ static int aep_init(ENGINE *e)
 
        if(aep_dso)
                DSO_free(aep_dso);
+       aep_dso = NULL;
                
        p_AEP_OpenConnection    = NULL;
        p_AEP_ModExp            = NULL;