Lines Matching defs:file
5 * you may not use this file except in compliance with the License.
174 static int generate_key(const char *file)
183 D("generate_key '%s'\n", file);
196 f = fopen(file, "w");
198 D("Failed to open '%s'\n", file);
210 if (!write_public_keyfile(rsa, file)) {
226 static int read_key(const char *file, struct listnode *list)
231 D("read_key '%s'\n", file);
233 f = fopen(file, "r");
235 D("Failed to open '%s'\n", file);
384 char *file;
394 file = load_file(path, (unsigned*)&ret);
395 if (!file) {
405 memcpy(data, file, ret);