We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 442a4c1 commit 6cfe216Copy full SHA for 6cfe216
openssl-sys/src/handwritten/cms.rs
@@ -63,5 +63,6 @@ extern "C" {
63
flags: c_uint,
64
) -> c_int;
65
66
+ #[cfg(ossl101)]
67
pub fn CMS_get0_type(cms: *const CMS_ContentInfo) -> *const ASN1_OBJECT;
68
}
openssl/src/cms.rs
@@ -282,7 +282,7 @@ impl CmsContentInfo {
282
pub fn get_type(&self) -> &Asn1ObjectRef {
283
unsafe {
284
let asn1_type = ffi::CMS_get0_type(self.as_ptr() as *const _);
285
- &Asn1ObjectRef::from_const_ptr(asn1_type)
+ Asn1ObjectRef::from_const_ptr(asn1_type)
286
287
288
0 commit comments