It's unlikely that both are broken at the same time. And ECC is generally considered more robust than RSA.