add patch crypto-fix-sparse-warnings