diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-06-19 13:36:35 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-06-19 13:36:35 +0400 |
commit | 9f23ce242e99010ab01a57448d0b1605d84830b1 (patch) | |
tree | 2a0764249398d53637c3da9582e1d1e5023f2c75 /core/src/main/java/org/bouncycastle/crypto/tls/DigitallySigned.java | |
parent | e49392d526e1a168ed5c2c993c64d0a4feb47b65 (diff) |
Refactor code that checks version features
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/DigitallySigned.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/tls/DigitallySigned.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/DigitallySigned.java b/core/src/main/java/org/bouncycastle/crypto/tls/DigitallySigned.java index d7fda271..8ce89886 100644 --- a/core/src/main/java/org/bouncycastle/crypto/tls/DigitallySigned.java +++ b/core/src/main/java/org/bouncycastle/crypto/tls/DigitallySigned.java @@ -57,7 +57,7 @@ public class DigitallySigned public static DigitallySigned parse(TlsContext context, InputStream input) throws IOException
{
SignatureAndHashAlgorithm algorithm = null;
- if (ProtocolVersion.TLSv12.isEqualOrEarlierVersionOf(context.getServerVersion().getEquivalentTLSVersion()))
+ if (TlsUtils.isTLSv12(context))
{
algorithm = SignatureAndHashAlgorithm.parse(input);
}
|