File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -793,7 +793,7 @@ public void TestExtractingPrecisePangolinAttachment ()
793793 attachment . Content . DecodeTo ( jpeg ) ;
794794 jpeg . Position = 0 ;
795795
796- using ( var md5 = new MD5CryptoServiceProvider ( ) ) {
796+ using ( var md5 = MD5 . Create ( ) ) {
797797 var md5sum = HexEncode ( md5 . ComputeHash ( jpeg ) ) ;
798798
799799 Assert . AreEqual ( "167a46aa81e881da2ea8a840727384d3" , md5sum , "MD5 checksums do not match." ) ;
@@ -870,7 +870,7 @@ public async Task TestExtractingPrecisePangolinAttachmentAsync ()
870870 attachment . Content . DecodeTo ( jpeg ) ;
871871 jpeg . Position = 0 ;
872872
873- using ( var md5 = new MD5CryptoServiceProvider ( ) ) {
873+ using ( var md5 = MD5 . Create ( ) ) {
874874 var md5sum = HexEncode ( md5 . ComputeHash ( jpeg ) ) ;
875875
876876 Assert . AreEqual ( "167a46aa81e881da2ea8a840727384d3" , md5sum , "MD5 checksums do not match." ) ;
You can’t perform that action at this time.
0 commit comments