Lines Matching refs:capath
64 char *capath; member
447 tmpstore->capath = NULL; in new_keystore()
470 if (keystore->capath != NULL) in free_keystore()
471 free(keystore->capath); in free_keystore()
1098 if (keystore->capath != NULL) { in verify_keystore_integrity()
1099 if (!restore_keystore_file(err, keystore->capath)) { in verify_keystore_integrity()
1396 keystore->capath = xstrdup(storepath); in resolve_paths()
1407 keystore->capath = xstrdup(keystore_file); in resolve_paths()
1414 keystore->capath = xstrdup(storepath); in resolve_paths()
1471 open(keystore->capath, O_NONBLOCK|O_RDONLY)) == -1) { in lock_keystore()
1481 open(keystore->capath, in lock_keystore()
1486 keystore->capath); in lock_keystore()
1493 keystore->capath, strerror(errno)); in lock_keystore()
1504 keystore->capath); in lock_keystore()
1512 keystore->capath); in lock_keystore()
1519 keystore->capath, strerror(errno)); in lock_keystore()
1526 if ((keystore->cafd = open(keystore->capath, in lock_keystore()
1531 open(keystore->capath, in lock_keystore()
1536 keystore->capath); in lock_keystore()
1543 keystore->capath, strerror(errno)); in lock_keystore()
1554 keystore->capath); in lock_keystore()
1562 keystore->capath); in lock_keystore()
1569 keystore->capath, strerror(errno)); in lock_keystore()
1591 if (keystore->capath != NULL) in lock_keystore()
1592 free(keystore->capath); in lock_keystore()
1597 keystore->capath = NULL; in lock_keystore()
1624 if (file_empty(keystore->capath)) { in unlock_keystore()
1625 (void) remove(keystore->capath); in unlock_keystore()
1656 ca_empty = file_empty(keystore->capath); in read_keystore()
1670 keystore->capath)) == NULL) { in read_keystore()
1672 gettext(ERR_KEYSTORE_CORRUPT), keystore->capath); in read_keystore()
1691 gettext(ERR_KEYSTORE_CORRUPT), keystore->capath); in read_keystore()
1715 gettext(ERR_KEYSTORE_CORRUPT), keystore->capath); in read_keystore()
1754 keystore->capath, keystore->path); in read_keystore()
1800 keystore->capath, keystore->path); in read_keystore()
1904 if (keystore->capath != NULL && keystore->clpath == NULL && in write_keystore()
1914 if (!clear_keystore_file(err, keystore->capath)) { in write_keystore()
1924 keystore->capath); in write_keystore()
1955 keystore->capath); in write_keystore()
1960 if (!write_keystore_file(err, keystore->capath, p12)) { in write_keystore()
1963 keystore->capath); in write_keystore()
2067 keystore->capath); in write_keystore()
2072 if (!write_keystore_file(err, keystore->capath, p12)) { in write_keystore()
2075 keystore->capath); in write_keystore()
2087 if (!clear_keystore_file(err, keystore->capath)) { in write_keystore()
2090 keystore->capath); in write_keystore()