File tree 3 files changed +17
-13
lines changed
openssl-sys/src/handwritten
3 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -652,16 +652,3 @@ extern "C" {
652
652
pub fn EVP_EncodeBlock ( dst : * mut c_uchar , src : * const c_uchar , src_len : c_int ) -> c_int ;
653
653
pub fn EVP_DecodeBlock ( dst : * mut c_uchar , src : * const c_uchar , src_len : c_int ) -> c_int ;
654
654
}
655
-
656
- extern "C" {
657
- #[ cfg( ossl300) ]
658
- pub fn OSSL_PARAM_construct_uint ( key : * const c_char , buf : * mut c_uint ) -> OSSL_PARAM ;
659
- #[ cfg( ossl300) ]
660
- pub fn OSSL_PARAM_construct_utf8_string (
661
- key : * const c_char ,
662
- buf : * mut c_char ,
663
- bsize : size_t ,
664
- ) -> OSSL_PARAM ;
665
- #[ cfg( ossl300) ]
666
- pub fn OSSL_PARAM_construct_end ( ) -> OSSL_PARAM ;
667
- }
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ pub use self::hmac::*;
15
15
pub use self :: kdf:: * ;
16
16
pub use self :: object:: * ;
17
17
pub use self :: ocsp:: * ;
18
+ pub use self :: params:: * ;
18
19
pub use self :: pem:: * ;
19
20
pub use self :: pkcs12:: * ;
20
21
pub use self :: pkcs7:: * ;
@@ -51,6 +52,7 @@ mod hmac;
51
52
mod kdf;
52
53
mod object;
53
54
mod ocsp;
55
+ mod params;
54
56
mod pem;
55
57
mod pkcs12;
56
58
mod pkcs7;
Original file line number Diff line number Diff line change
1
+ use super :: super :: * ;
2
+ use libc:: * ;
3
+
4
+ extern "C" {
5
+ #[ cfg( ossl300) ]
6
+ pub fn OSSL_PARAM_construct_uint ( key : * const c_char , buf : * mut c_uint ) -> OSSL_PARAM ;
7
+ #[ cfg( ossl300) ]
8
+ pub fn OSSL_PARAM_construct_utf8_string (
9
+ key : * const c_char ,
10
+ buf : * mut c_char ,
11
+ bsize : size_t ,
12
+ ) -> OSSL_PARAM ;
13
+ #[ cfg( ossl300) ]
14
+ pub fn OSSL_PARAM_construct_end ( ) -> OSSL_PARAM ;
15
+ }
You can’t perform that action at this time.
0 commit comments