File tree 3 files changed +13
-1
lines changed
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ fn main() {
78
78
// when when COMPILE_PCRE8 is not defined, which is the default.
79
79
add_c_files ( & mut cfg, "libgit2/deps/pcre" ) ;
80
80
81
+ cfg. file ( "libgit2/src/allocators/failalloc.c" ) ;
81
82
cfg. file ( "libgit2/src/allocators/stdalloc.c" ) ;
82
83
83
84
if windows {
Original file line number Diff line number Diff line change @@ -456,6 +456,9 @@ pub struct git_cert_hostkey {
456
456
pub hash_md5 : [ u8 ; 16 ] ,
457
457
pub hash_sha1 : [ u8 ; 20 ] ,
458
458
pub hash_sha256 : [ u8 ; 32 ] ,
459
+ pub raw_type : git_cert_ssh_raw_type_t ,
460
+ pub hostkey : * const c_char ,
461
+ pub hostkey_len : size_t ,
459
462
}
460
463
461
464
#[ repr( C ) ]
@@ -473,6 +476,14 @@ git_enum! {
473
476
}
474
477
}
475
478
479
+ git_enum ! {
480
+ pub enum git_cert_ssh_raw_type_t {
481
+ GIT_CERT_SSH_RAW_TYPE_UNKNOWN = 0 ,
482
+ GIT_CERT_SSH_RAW_TYPE_RSA = 1 ,
483
+ GIT_CERT_SSH_RAW_TYPE_DSS = 2 ,
484
+ }
485
+ }
486
+
476
487
git_enum ! {
477
488
pub enum git_diff_flag_t {
478
489
GIT_DIFF_FLAG_BINARY = 1 << 0 ,
You can’t perform that action at this time.
0 commit comments