TlsNullCompression.cs 362 B

1234567891011121314151617181920212223
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. using System;
  3. using System.IO;
  4. namespace Org.BouncyCastle.Crypto.Tls
  5. {
  6. public class TlsNullCompression
  7. : TlsCompression
  8. {
  9. public virtual Stream Compress(Stream output)
  10. {
  11. return output;
  12. }
  13. public virtual Stream Decompress(Stream output)
  14. {
  15. return output;
  16. }
  17. }
  18. }
  19. #endif