Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0dc59b00 authored by Debajit Ghosh's avatar Debajit Ghosh
Browse files

switching from ro.secure to ro.debuggable for relaxing ssl cert check.

Conflicts:

	core/java/android/net/SSLCertificateSocketFactory.java
parent f3e7f5dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ public class SSLCertificateSocketFactory extends SSLSocketFactory {

    private synchronized SSLSocketFactory getDelegate() {
        // Relax the SSL check if instructed (for this factory, or systemwide)
        if (!mSecure || ("0".equals(SystemProperties.get("ro.secure")) &&
        if (!mSecure || ("1".equals(SystemProperties.get("ro.debuggable")) &&
            "yes".equals(SystemProperties.get("socket.relaxsslcheck")))) {
            if (mInsecureFactory == null) {
                if (mSecure) {