clear dso pointer in case of an error
[openssl.git] / engines / e_atalla.c
index a5cf6aa..8e11048 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;