Loading openssl/src/x509/mod.rs +1 −4 Original line number Diff line number Diff line Loading @@ -2094,10 +2094,7 @@ impl GeneralName { } } pub(crate) fn new_other_name( oid: Asn1Object, value: &Vec<u8>, ) -> Result<GeneralName, ErrorStack> { pub(crate) fn new_other_name(oid: Asn1Object, value: &[u8]) -> Result<GeneralName, ErrorStack> { unsafe { ffi::init(); Loading Loading
openssl/src/x509/mod.rs +1 −4 Original line number Diff line number Diff line Loading @@ -2094,10 +2094,7 @@ impl GeneralName { } } pub(crate) fn new_other_name( oid: Asn1Object, value: &Vec<u8>, ) -> Result<GeneralName, ErrorStack> { pub(crate) fn new_other_name(oid: Asn1Object, value: &[u8]) -> Result<GeneralName, ErrorStack> { unsafe { ffi::init(); Loading