Lines Matching refs:crt
299 my $crt = $ARGV[0] || 'ca-bundle.crt';
302 my $stdout = $crt eq '-';
306 my $oldhash = oldhash($crt);
362 exit 0 if -e $crt && !$opt_f;
371 exit 1 if -e $crt || ! -r $txt;
403 open(CRT,">$crt.~") or die "Couldn't open $crt.~: $!\n";
628 $pipe .= " >> $crt.~";
629 close(CRT) or die "Couldn't close $crt.~: $!";
635 open(CRT, ">>$crt.~") or die "Couldn't open $crt.~: $!";
640 $pipe .= " >> $crt.~";
641 close(CRT) or die "Couldn't close $crt.~: $!";
647 open(CRT, ">>$crt.~") or die "Couldn't open $crt.~: $!";
656 close(CRT) or die "Couldn't close $crt.~: $!\n";
658 if ($opt_b && -e $crt) {
660 while (-e "$crt.~${bk}~") {
663 rename $crt, "$crt.~${bk}~" or die "Failed to create backup $crt.~$bk}~: $!\n";
664 } elsif( -e $crt ) {
665 unlink( $crt ) or die "Failed to remove $crt: $!\n";
667 rename "$crt.~", $crt or die "Failed to rename $crt.~ to $crt: $!\n";