File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1025,8 +1025,8 @@ let pool_certificate_install fd printer rpc session_id params =
10251025 let filename = List. assoc " filename" params in
10261026 match get_client_file fd filename with
10271027 | Some cert ->
1028- Client.Pool. certificate_install ~rpc ~session_id ~name: filename
1029- ~cert
1028+ Client.Pool. certificate_install ~rpc ~session_id
1029+ ~name: ( Filename. basename filename) ~ cert
10301030 | None ->
10311031 marshal fd (Command (PrintStderr " Failed to read certificate\n " ));
10321032 raise (ExitWithError 1 )
@@ -1043,7 +1043,8 @@ let pool_crl_install fd printer rpc session_id params =
10431043 let filename = List. assoc " filename" params in
10441044 match get_client_file fd filename with
10451045 | Some cert ->
1046- Client.Pool. crl_install ~rpc ~session_id ~name: filename ~cert
1046+ Client.Pool. crl_install ~rpc ~session_id
1047+ ~name: (Filename. basename filename) ~cert
10471048 | None ->
10481049 marshal fd (Command (PrintStderr " Failed to read CRL\n " ));
10491050 raise (ExitWithError 1 )
You can’t perform that action at this time.
0 commit comments