Skip to content

Commit f37b41d

Browse files
authored
Remove unused crypto files tagged by CodeQL, Fixes AB#3301719 (#2676)
[AB#3301719](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/3301719)
1 parent ca4f3f4 commit f37b41d

6 files changed

Lines changed: 1 addition & 1021 deletions

File tree

LabApiUtilities/src/main/com/microsoft/identity/labapi/utilities/authentication/common/MicrosoftClientAssertion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private SignedJWT createSignedJwt(@NonNull final String clientId,
135135

136136
private Base64URL createSHA1ThumbPrint(@NonNull final X509Certificate clientCertificate)
137137
throws CertificateEncodingException, NoSuchAlgorithmException {
138-
final MessageDigest mdSha1 = MessageDigest.getInstance(THUMBPRINT_ALGORITHM);
138+
final MessageDigest mdSha1 = MessageDigest.getInstance(THUMBPRINT_ALGORITHM); // CodeQL [SM05136] - This is test-only helper code, not used in production
139139
mdSha1.reset();
140140
mdSha1.update(clientCertificate.getEncoded());
141141
return new Base64URL(Base64.encode(mdSha1.digest()).toString());

common/src/androidTest/java/com/microsoft/identity/common/internal/platform/AndroidKeyStoreAccessorTests.java

Lines changed: 0 additions & 137 deletions
This file was deleted.

common/src/androidTest/java/com/microsoft/identity/common/internal/platform/RawKeyAccessorTest.java

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)