Lines Matching refs:rdb
231 CA_DB *rdb = NULL; in ocsp_main() local
586 rdb = load_index(ridx_filename, NULL); in ocsp_main()
587 if (rdb == NULL || index_index(rdb) <= 0) { in ocsp_main()
607 if (index_changed(rdb)) { in ocsp_main()
611 free_index(rdb); in ocsp_main()
612 rdb = newrdb; in ocsp_main()
682 if (rdb != NULL) { in ocsp_main()
683 make_ocsp_response(bio_err, &resp, req, rdb, rca_cert, rsigner, rkey, in ocsp_main()
815 free_index(rdb); in ocsp_main()
870 static int index_changed(CA_DB *rdb) in index_changed() argument
874 if (rdb != NULL && stat(rdb->dbfname, &sb) != -1) { in index_changed()
875 if (rdb->dbst.st_mtime != sb.st_mtime in index_changed()
876 || rdb->dbst.st_ctime != sb.st_ctime in index_changed()
877 || rdb->dbst.st_ino != sb.st_ino in index_changed()
878 || rdb->dbst.st_dev != sb.st_dev) { in index_changed()