X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/ca/blobdiff_plain/92c78e4a0cb5e237850ed13ec52684f78471bf0e..f480f87cfd3a6ac3315cf3302ebfc2b631de6456:/bin/withdraw diff --git a/bin/withdraw b/bin/withdraw index ed6e740..af47bc5 100755 --- a/bin/withdraw +++ b/bin/withdraw @@ -25,6 +25,11 @@ ## Find the common utilities. source [file join [file dirname $argv0] "../lib/func.tcl"] +## Open the database +sqlite3 db "$CERTROOT/state/ca.db" +db nullvalue nil +cd "$CERTROOT" + ## Get the list of requests. if {[llength $argv] != 1} { puts stderr "Usage: $QUIS REQID"