We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33906c2 commit bdffe11Copy full SHA for bdffe11
src/https.android.ts
@@ -44,9 +44,6 @@ export function enableSSLPinning(options: Https.HttpsSSLPinningOptions) {
44
peer.host = options.host;
45
peer.commonName = options.commonName || options.host;
46
peer.certificate = certificate;
47
- if (options.commonName) {
48
- peer.commonName = options.commonName;
49
- }
50
if (options.allowInvalidCertificates === true) {
51
peer.allowInvalidCertificates = true;
52
}
0 commit comments