diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/tls/TlsProtocol.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/TlsProtocol.cs b/crypto/src/tls/TlsProtocol.cs index dbbb6e0f5..b5a955bed 100644 --- a/crypto/src/tls/TlsProtocol.cs +++ b/crypto/src/tls/TlsProtocol.cs @@ -717,7 +717,7 @@ namespace Org.BouncyCastle.Tls if (this.m_failedWithError) throw new IOException("Cannot read application data on failed TLS connection"); - return -1; + return 0; } /* |