package io.netty.handler.ssl;

import io.netty.buffer.ByteBufAllocator;

/* JADX INFO: loaded from: classes.dex */
public final class OpenSslEngine extends ReferenceCountedOpenSslEngine {
    public OpenSslEngine(OpenSslContext openSslContext, ByteBufAllocator byteBufAllocator, String str, int i2, boolean z2) {
        super(openSslContext, byteBufAllocator, str, i2, z2, false);
    }

    public void finalize() throws Throwable {
        super.finalize();
        OpenSsl.releaseIfNeeded(this);
    }
}
