Lines Matching refs:rdb
216 CA_DB *rdb = NULL; in ocsp_main() local
615 rdb = load_index(ridx_filename, NULL); in ocsp_main()
616 if (rdb == NULL || index_index(rdb) <= 0) { in ocsp_main()
640 if (index_changed(rdb)) { in ocsp_main()
644 free_index(rdb); in ocsp_main()
645 rdb = newrdb; in ocsp_main()
723 if (rdb != NULL) { in ocsp_main()
724 make_ocsp_response(bio_err, &resp, req, rdb, rca_certs, rsigner, rkey, in ocsp_main()
864 free_index(rdb); in ocsp_main()
885 static int index_changed(CA_DB *rdb) in index_changed() argument
889 if (rdb != NULL && stat(rdb->dbfname, &sb) != -1) { in index_changed()
890 if (rdb->dbst.st_mtime != sb.st_mtime in index_changed()
891 || rdb->dbst.st_ctime != sb.st_ctime in index_changed()
892 || rdb->dbst.st_ino != sb.st_ino in index_changed()
893 || rdb->dbst.st_dev != sb.st_dev) { in index_changed()