Mercurial > dropbear
comparison keyimport.h @ 1046:b8f4b7027191 coverity
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 24 Feb 2015 22:48:34 +0800 |
parents | deed0571cacc |
children | 06d52bcb8094 |
comparison
equal
deleted
inserted
replaced
1014:37c510c2ac7c | 1046:b8f4b7027191 |
---|---|
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
23 * SOFTWARE. */ | 23 * SOFTWARE. */ |
24 | 24 |
25 #ifndef _KEYIMPORT_H_ | 25 #ifndef DROPBEAR_KEYIMPORT_H_ |
26 #define _KEYIMPORT_H_ | 26 #define DROPBEAR_KEYIMPORT_H_ |
27 | 27 |
28 #include "includes.h" | 28 #include "includes.h" |
29 #include "signkey.h" | 29 #include "signkey.h" |
30 | 30 |
31 enum { | 31 enum { |
37 int import_write(const char *filename, sign_key *key, char *passphrase, | 37 int import_write(const char *filename, sign_key *key, 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, 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 /* _KEYIMPORT_H_ */ | 42 #endif /* DROPBEAR_KEYIMPORT_H_ */ |