summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-08-30 12:15:43 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-08-30 12:15:43 +0000
commit1494e545fdba473919a66d9db21e09f9b634fd21 (patch)
tree32820c021e4e992b7cd1db8d9a394999b3ee92f8 /lib
parentd848fed16b9f89231e014dddbf643a63cec10fc3 (diff)
do not modify input files, allows ro source builds; tested by fries@
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/crypto/objects/objects.pl13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libssl/src/crypto/objects/objects.pl b/lib/libssl/src/crypto/objects/objects.pl
index 76c06cc8f9a..76bb8da677b 100644
--- a/lib/libssl/src/crypto/objects/objects.pl
+++ b/lib/libssl/src/crypto/objects/objects.pl
@@ -107,12 +107,13 @@ while (<IN>)
}
close IN;
-open (NUMOUT,">$ARGV[1]") || die "Can't open output file $ARGV[1]";
-foreach (sort { $a <=> $b } keys %nidn)
- {
- print NUMOUT $nidn{$_},"\t\t",$_,"\n";
- }
-close NUMOUT;
+#XXX don't modify input files
+#open (NUMOUT,">$ARGV[1]") || die "Can't open output file $ARGV[1]";
+#foreach (sort { $a <=> $b } keys %nidn)
+# {
+# print NUMOUT $nidn{$_},"\t\t",$_,"\n";
+# }
+#close NUMOUT;
open (OUT,">$ARGV[2]") || die "Can't open output file $ARGV[2]";
print OUT <<'EOF';