Skip to content

Commit

Permalink
[backend] bs_signer: do not forget to send "withpubkey" when requesti…
Browse files Browse the repository at this point in the history
…ng the pubkey
  • Loading branch information
bugfinder committed Dec 19, 2012
1 parent e52ae65 commit e70f6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_signer
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ sub signjob {
push @args, "project=$projid";
push @args, "withpubkey=1" if $needpubkey;
push @args, "autoextend=1" if $needpubkey;
my $signkey = BSRPC::rpc($param, undef, "project=$projid");
my $signkey = BSRPC::rpc($param, undef, @args);
my $pubkey;
if ($signkey) {
($signkey, $pubkey) = split("\n", $signkey, 2) if $needpubkey;
Expand Down

0 comments on commit e70f6ce

Please sign in to comment.