mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
Checkstyle issues
This commit is contained in:
parent
19a750e4b5
commit
801766ce04
3 changed files with 2 additions and 4 deletions
|
@ -350,7 +350,6 @@ class OpenPgpMessageInputStream(
|
|||
if (!encDataList.isIntegrityProtected &&
|
||||
!encDataList.isEmpty &&
|
||||
!encDataList.get(0).isAEAD) {
|
||||
|
||||
LOGGER.warn("Symmetrically Encrypted Data Packet is not integrity-protected.")
|
||||
if (!options.isIgnoreMDCErrors()) {
|
||||
throw MessageNotIntegrityProtectedException()
|
||||
|
|
|
@ -6,13 +6,13 @@ package org.pgpainless.bouncycastle.fuzzing
|
|||
|
||||
import com.code_intelligence.jazzer.api.FuzzedDataProvider
|
||||
import com.code_intelligence.jazzer.junit.FuzzTest
|
||||
import java.io.EOFException
|
||||
import java.io.IOException
|
||||
import org.bouncycastle.bcpg.ArmoredInputException
|
||||
import org.bouncycastle.bcpg.UnsupportedPacketVersionException
|
||||
import org.bouncycastle.openpgp.PGPException
|
||||
import org.bouncycastle.openpgp.PGPUtil
|
||||
import org.bouncycastle.openpgp.bc.BcPGPObjectFactory
|
||||
import java.io.EOFException
|
||||
import java.io.IOException
|
||||
|
||||
class PGPObjectFactoryFuzzingTest {
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ class ArmorImpl(private val api: PGPainless) : Armor {
|
|||
val bufferedOutputStream = BufferedOutputStream(outputStream)
|
||||
|
||||
// Determine the nature of the given data
|
||||
|
||||
val openPgpIn =
|
||||
OpenPGPAnimalSnifferInputStream(data, false).apply {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue