blob: 5d43d7ff67950132e06cfbe2aaa09eef669c1e7a [file] [log] [blame] [edit]
<?xml version="1.0" encoding="UTF-8"?>
<lint>
 <!-- ExtendedSSLSession only gets instantiated in new APIs on Android. -->
    <issue id="NewApi">
<ignore path="**/org/conscrypt/Java7ExtendedSSLSession.java" />
<ignore path="**/org/conscrypt/Java8ExtendedSSLSession.java" />
<ignore path="**/org/conscrypt/Java8EngineWrapper.java" />
<ignore path="**/org/conscrypt/Java8EngineSocket.java" />
<ignore path="**/org/conscrypt/Java8FileDescriptorSocket.java" />
<!-- ConscryptEngineSocket uses X509ExtendedTrustManager in an API-guarded method -->
<ignore path="**/org/conscrypt/ConscryptEngineSocket.java" />
<!-- We don't provide the trust manager in the Android build -->
<ignore path="**/org/conscrypt/TrustManagerImpl.java" />
    </issue>
<!-- Android SparseArrays can't be used in common directory. -->
<issue id="UseSparseArrays">
<ignore path="**/common/src/main/java/**/*.java" />
</issue>
<!-- TrulyRandom flips out over KeyPairGenerator. -->
<issue id="TrulyRandom">
<ignore path="**/common/src/main/java/org/conscrypt/OpenSSLECKeyPairGenerator.java" />
<ignore path="**/common/src/main/java/org/conscrypt/AbstractConscryptEngine.java" />
</issue>
<!-- Asserts don't work in Android, but this code is for OpenJDK as well. -->
<issue id="Assert">
<ignore path="**/common/src/main/java/org/conscrypt/OpenSSLCipherChaCha20.java" />
</issue>
</lint>