Mercurial > dropbear
comparison keyimport.h @ 1049:01eea88963f3 fastopen
merge from default
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 28 Feb 2015 09:06:40 +0800 |
parents | deed0571cacc |
children | 06d52bcb8094 |
comparison
equal
deleted
inserted
replaced
1048:9cec9ed503bb | 1049:01eea88963f3 |
---|---|
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_ */ |