mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-25 14:02:54 +00:00
Fix pairing issue due to picking up a final local variable instead of a class member
This commit is contained in:
parent
0101d0a1bd
commit
9af6febca5
@ -159,7 +159,7 @@ public class NvHTTP {
|
||||
public boolean verify(String hostname, SSLSession session) {
|
||||
try {
|
||||
Certificate[] certificates = session.getPeerCertificates();
|
||||
if (certificates.length == 1 && certificates[0].equals(serverCert)) {
|
||||
if (certificates.length == 1 && certificates[0].equals(NvHTTP.this.serverCert)) {
|
||||
// Allow any hostname if it's our pinned cert
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user