Fix check of -DOPENSSL_USE_APPLINK in $config{cflags}
[openssl.git] / util / sp-diff.pl
index f81e50201b7510cf9cc927e50572dbb9000d25fb..57e635bca38fef59c2b99572fdfb022e6cf44131 100755 (executable)
@@ -11,7 +11,7 @@
 %two=&loadfile($ARGV[1]);
 
 $line=0;
-foreach $a ("md2","md5","sha","sha1","rc4","des cfb","des cbc","des ede3",
+foreach $a ("md2","md4","md5","sha","sha1","rc4","des cfb","des cbc","des ede3",
        "idea cfb","idea cbc","rc2 cfb","rc2 cbc","blowfish cbc","cast cbc")
        {
        if (defined($one{$a,8}) && defined($two{$a,8}))
@@ -54,7 +54,7 @@ sub loadfile
                $header=0 if /^[dr]sa/;
                if (/^type/) { $header=0; next; }
                next if $header;
-               chop;
+               s|\R$||;
                @a=split;
                if ($a[0] =~ /^[dr]sa$/)
                        {