Skip to content

Commit 0f15736

Browse files
committed
Merge branch 'unsupportedPacket' of https://github.com/pgpainless/bc-java into pgpainless-unsupportedPacket
2 parents e2c0ceb + 9ce45e0 commit 0f15736

File tree

1 file changed

+1
-1
lines changed
  • pg/src/main/java/org/bouncycastle/bcpg

1 file changed

+1
-1
lines changed

pg/src/main/java/org/bouncycastle/bcpg/S2K.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public class S2K
9898
break;
9999

100100
default:
101-
throw new IllegalStateException("Invalid S2K type: " + type);
101+
throw new UnsupportedPacketVersionException("Invalid S2K type: " + type);
102102
}
103103
}
104104

0 commit comments

Comments
 (0)