clear dso pointer in case of an error
[openssl.git] / engines / e_atalla.c
index a5cf6aa885aef7937a243ccaa03a874c39032b21..8e11048d054fff2518167de82128f2ac92c532a3 100644 (file)
@@ -384,6 +384,7 @@ static int atalla_init(ENGINE *e)
 err:
        if(atalla_dso)
                DSO_free(atalla_dso);
+       atalla_dso = NULL;
        p_Atalla_GetHardwareConfig = NULL;
        p_Atalla_RSAPrivateKeyOpFn = NULL;
        p_Atalla_GetPerformanceStatistics = NULL;