Skip to content

Commit 7f1af64

Browse files
author
gefeili
committed
Update PGPAEADDataEncryptor java doc and message in AbstractPacketTest.isNotNull
1 parent cd9bd33 commit 7f1af64

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pg/src/main/java/org/bouncycastle/openpgp/operator/PGPAEADDataEncryptor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
/**
55
* A data encryptor, using AEAD.
66
* There are two different flavours of AEAD encryption used with OpenPGP.
7-
* OpenPGP v5 AEAD is slightly different from v6 AEAD.
8-
* <p>
7+
* LibrePGP (v5) AEAD is slightly different from RFC9580 (v6) AEAD.
98
* {@link PGPAEADDataEncryptor} instances are generally not constructed directly, but obtained from a
109
* {@link PGPDataEncryptorBuilder}.
1110
* </p>

pg/src/test/java/org/bouncycastle/bcpg/test/AbstractPacketTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public void isNull(String message, Object value)
118118
*/
119119
public void isNotNull(Object value)
120120
{
121-
isNotNull("Value is not null.", value);
121+
isNotNull("Value is null.", value);
122122
}
123123

124124
/**

0 commit comments

Comments
 (0)