Skip to content

Commit

Permalink
Forgot to actually call the new function
Browse files Browse the repository at this point in the history
Forgot to actually call the new function
  • Loading branch information
StingraySA authored May 10, 2024
1 parent 03928c9 commit b245d79
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions agent/src/android/pinning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const okHttp3CertificatePinnerExpanded = (ident: string): any | undefined => {
CertificatePinnerCheckOkHttp.implementation = function (str,cert) {
qsend(quiet,
c.blackBright(`[${ident}] `) + `Called check$okhttp ` +
c.green(`OkHTTP 3.x CertificatePinner.check$okhttp()`) +
c.green(`OkHTTP 3.x CertificatePinner.check$okhttp() - `) +
str,
} catch(err) {
qsend(quiet,
Expand All @@ -195,7 +195,7 @@ const okHttp3CertificatePinnerExpanded = (ident: string): any | undefined => {
CertificatePinnerCheckOkHttp.implementation = function (str,cert_array) {
qsend(quiet,
c.blackBright(`[${ident}] `) + `Called check$okhttp ` +
c.green(`OkHTTP 3.x CertificatePinner.check$okhttp()`) +
c.green(`OkHTTP 3.x CertificatePinner.check$okhttp() - `) +
str,
} catch(err) {
qsend(quiet,
Expand Down Expand Up @@ -374,6 +374,7 @@ export const disable = (q: boolean): void => {
job.implementations.push(sslContextEmptyTrustManager(job.identifier));
job.implementations.push(okHttp3CertificatePinnerCheck(job.identifier));
job.implementations.push(okHttp3CertificatePinnerCheckOkHttp(job.identifier));
job.implementations.push(okHttp3CertificatePinnerExpanded(job.identifier));
job.implementations.push(appceleratorTitaniumPinningTrustManager(job.identifier));
job.implementations.push(trustManagerImplVerifyChainCheck(job.identifier));
job.implementations.push(trustManagerImplCheckTrustedRecursiveCheck(job.identifier));
Expand Down

0 comments on commit b245d79

Please sign in to comment.