• Kenny Root's avatar
    Convert EVP_PKEY to new style · 37e58bbe
    Kenny Root authored
    To avoid conflicts in the language spec and how Conscrypt does native
    calls, we need to wrap all native references in a Java object reference.
    Calling NativeCrypto's static native methods with a raw pointer doesn't
    guarantee that the calling object won't be finalized during the method
    running.
    
    This pass fixes EVP_PKEY references, but more passes are needed.
    
    Bug: 16656908
    Change-Id: I5925da40cb37cd328b3a126404944f771732a43e
    37e58bbe
OpenSSLX509Certificate.java 16.7 KB