Skip to content

Commit

Permalink
add i2d_ASN1_INTEGER
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEnbyperor committed Oct 14, 2022
1 parent f251a8d commit ef5160d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openssl-sys/src/handwritten/asn1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@ const_ptr_api! {
pub fn ASN1_STRING_to_UTF8(out: *mut *mut c_uchar, s: #[const_ptr_if(any(ossl110, libressl280))] ASN1_STRING) -> c_int;
}
}

const_ptr_api! {
extern "C" {
pub fn i2d_ASN1_INTEGER(k: #[const_ptr_if(ossl300)] ASN1_INTEGER, buf: *mut *mut u8) -> c_int;
}
}

0 comments on commit ef5160d

Please sign in to comment.