diff --git a/CHANGELOG.md b/CHANGELOG.md index b179f671..649bce08 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - Added error and message to the `ServerTrustChallenge` class for iOS (class used by the `onReceivedServerTrustAuthRequest` event) - Added `contentInsetAdjustmentBehavior` webview iOS-specific option - Added `copy` and `copyWithValue` methods for webview class options -- Added X509Certificate class and parser +- Added `SslCertificate` class and `X509Certificate` class and parser - Fixed `zoomBy`, `setOptions` webview methods on Android - Fixed `databaseEnabled` android webview option default value to `true` diff --git a/lib/src/X509Certificate/asn1_decoder.dart b/lib/src/X509Certificate/asn1_decoder.dart index 5097d0d5..4608a81e 100644 --- a/lib/src/X509Certificate/asn1_decoder.dart +++ b/lib/src/X509Certificate/asn1_decoder.dart @@ -192,8 +192,7 @@ class ASN1DERDecoder { byteArray.add(n); } } else { - break; - // throw ASN1OutOfBufferError(); + throw ASN1OutOfBufferError(); } }