Fixed openssl cleaning