Lines Matching refs:keypath
72 char *keypath; member
451 tmpstore->keypath = NULL; in new_keystore()
476 if (keystore->keypath != NULL) in free_keystore()
477 free(keystore->keypath); in free_keystore()
1108 if (keystore->keypath != NULL) { in verify_keystore_integrity()
1109 if (!restore_keystore_file(err, keystore->keypath)) { in verify_keystore_integrity()
1402 keystore->keypath = xstrdup(storepath); in resolve_paths()
1408 keystore->keypath = NULL; in resolve_paths()
1420 keystore->keypath = xstrdup(storepath); in resolve_paths()
1595 if (keystore->keypath != NULL) in lock_keystore()
1596 free(keystore->keypath); in lock_keystore()
1599 keystore->keypath = NULL; in lock_keystore()
1660 if (keystore->keypath != NULL) in read_keystore()
1661 key_empty = file_empty(keystore->keypath); in read_keystore()
1777 keystore->keypath)) == NULL) { in read_keystore()
1780 keystore->keypath); in read_keystore()
1799 keystore->keypath, in read_keystore()
1810 keystore->keypath); in read_keystore()
1905 keystore->keypath == NULL) { in write_keystore()
1999 keystore->keypath); in write_keystore()
2004 if (!write_keystore_file(err, keystore->keypath, in write_keystore()
2008 keystore->keypath); in write_keystore()
2015 if ((remove(keystore->keypath) != 0) && in write_keystore()
2019 keystore->keypath); in write_keystore()