diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2016-11-11 22:30:03 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2016-11-11 22:30:03 +0700 |
commit | 0eca6bebcc0d1b29d8b73d4790d314a9719081d0 (patch) | |
tree | b52cbb07b9f99a0ba59371ee2db7e7c4ae79eca6 /crypto | |
parent | Fix possible NPE when cofactor != 1 (from bc-java) (diff) | |
download | BouncyCastle.NET-ed25519-0eca6bebcc0d1b29d8b73d4790d314a9719081d0.tar.xz |
EncryptionAlgorithm.NULL is a 'stream' cipher
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/crypto/tls/TlsUtilities.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/src/crypto/tls/TlsUtilities.cs b/crypto/src/crypto/tls/TlsUtilities.cs index 25908d163..d51a8ff48 100644 --- a/crypto/src/crypto/tls/TlsUtilities.cs +++ b/crypto/src/crypto/tls/TlsUtilities.cs @@ -1246,6 +1246,7 @@ namespace Org.BouncyCastle.Crypto.Tls case EncryptionAlgorithm.SEED_CBC: return CipherType.block; + case EncryptionAlgorithm.NULL: case EncryptionAlgorithm.RC4_40: case EncryptionAlgorithm.RC4_128: return CipherType.stream; |