diff options
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r-- | bpkg/auth.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index 82e17ec..b60a8ee 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -646,10 +646,10 @@ namespace bpkg try { - f = path::temp_path ("bpkg"); + rm = tmp_file ("cert"); + f = rm.path; ofdstream ofs (f); - rm = auto_rmfile (f); ofs << *cert_pem; ofs.close (); } |