diff options
Diffstat (limited to 'crypto/src/asn1/DerGeneralizedTime.cs')
-rw-r--r-- | crypto/src/asn1/DerGeneralizedTime.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crypto/src/asn1/DerGeneralizedTime.cs b/crypto/src/asn1/DerGeneralizedTime.cs index f5ef3f372..16774cb02 100644 --- a/crypto/src/asn1/DerGeneralizedTime.cs +++ b/crypto/src/asn1/DerGeneralizedTime.cs @@ -98,14 +98,9 @@ namespace Org.BouncyCastle.Asn1 /** * base constructor from a local time object */ - public DerGeneralizedTime( - DateTime time) + public DerGeneralizedTime(DateTime time) { -#if PORTABLE this.time = time.ToUniversalTime().ToString(@"yyyyMMddHHmmss\Z"); -#else - this.time = time.ToString(@"yyyyMMddHHmmss\Z"); -#endif } internal DerGeneralizedTime( |