comparison keyimport.h @ 1459:06d52bcb8094

Pointer parameter could be declared as pointing to const
author Francois Perrad <francois.perrad@gadz.org>
date Sat, 19 Aug 2017 17:16:13 +0200
parents deed0571cacc
children
comparison
equal deleted inserted replaced
1458:bdd3802c8ac6 1459:06d52bcb8094
32 KEYFILE_DROPBEAR, 32 KEYFILE_DROPBEAR,
33 KEYFILE_OPENSSH, 33 KEYFILE_OPENSSH,
34 KEYFILE_SSHCOM 34 KEYFILE_SSHCOM
35 }; 35 };
36 36
37 int import_write(const char *filename, sign_key *key, char *passphrase, 37 int import_write(const char *filename, sign_key *key, const char *passphrase,
38 int filetype); 38 int filetype);
39 sign_key *import_read(const char *filename, char *passphrase, int filetype); 39 sign_key *import_read(const char *filename, const char *passphrase, int filetype);
40 int import_encrypted(const char* filename, int filetype); 40 int import_encrypted(const char* filename, int filetype);
41 41
42 #endif /* DROPBEAR_KEYIMPORT_H_ */ 42 #endif /* DROPBEAR_KEYIMPORT_H_ */