Mercurial > dropbear
comparison keyimport.h @ 1461:fb90a5ba84e0
Merge pull request #49 from fperrad/20170812_lint
Some linting, const parameters
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 25 Jan 2018 21:55:25 +0800 |
parents | 06d52bcb8094 |
children |
comparison
equal
deleted
inserted
replaced
1454:ef310db5ccec | 1461:fb90a5ba84e0 |
---|---|
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_ */ |