Hi,
I noticed that genSKey won't copy the old file.
The following patch also fixes the copied filename to be
same as genCACert and importCACert.
--
gotoyuzo
diff -u -p -r1.5 genSKey
--- common/lib/cmds/genSKey 26 Nov 2002 10:33:02 -0000 1.5
+++ common/lib/cmds/genSKey 28 Nov 2002 19:45:27 -0000
@@ -22,8 +22,8 @@ my $cakeyFile = getRequired ( 'CAKey' );
my ( $page, $key );
if( -e "$cakeyFile" ) {
- $tools->moveFiles( "$cakeyFile", "${cakeyFile}_${$}.old" );
- $msg = i18nGettext ("Old key file is (__FILE__).", "__FILE__",
"${cakeyFile}_${$}.old");
+ $tools->moveFiles( SRC=>"$cakeyFile", DEST=>"${cakeyFile}.${$}_old" );
+ $msg = i18nGettext ("Old key file is (__FILE__).", "__FILE__",
+"${cakeyFile}.${$}_old");
}
$errno = 0;
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users