diff options
Diffstat (limited to 'crypto/src/pkix/PkixCertPath.cs')
-rw-r--r-- | crypto/src/pkix/PkixCertPath.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/pkix/PkixCertPath.cs b/crypto/src/pkix/PkixCertPath.cs index 23a53c396..d03709167 100644 --- a/crypto/src/pkix/PkixCertPath.cs +++ b/crypto/src/pkix/PkixCertPath.cs @@ -401,7 +401,7 @@ namespace Org.BouncyCastle.Pkix pWrt.WriteObject(certificates[i]); } - pWrt.Writer.Close(); + Platform.Dispose(pWrt.Writer); } catch (Exception) { |