Skip to content

Commit

Permalink
Remove unused ModDetectionCodePacket
Browse files Browse the repository at this point in the history
The MDC packet is not used standalone anymore, instead it has been integrated into
the SymmetricEncIntegrityPacket.
  • Loading branch information
vanitasvitae committed Aug 8, 2024
1 parent 303d59f commit 8d845ec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 59 deletions.
2 changes: 0 additions & 2 deletions pg/src/main/java/org/bouncycastle/bcpg/BCPGInputStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ public Packet readPacket()
return new PublicSubkeyPacket(objStream, newPacket);
case SYM_ENC_INTEGRITY_PRO:
return new SymmetricEncIntegrityPacket(objStream, newPacket);
case MOD_DETECTION_CODE:
return new ModDetectionCodePacket(objStream, newPacket);
case AEAD_ENC_DATA:
return new AEADEncDataPacket(objStream, newPacket);
case PADDING:
Expand Down
57 changes: 0 additions & 57 deletions pg/src/main/java/org/bouncycastle/bcpg/ModDetectionCodePacket.java

This file was deleted.

0 comments on commit 8d845ec

Please sign in to comment.