diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs index 0df1f17593..52ad4af8c7 100644 --- a/openssl/src/x509/mod.rs +++ b/openssl/src/x509/mod.rs @@ -2094,10 +2094,7 @@ impl GeneralName { } } - pub(crate) fn new_other_name( - oid: Asn1Object, - value: &Vec, - ) -> Result { + pub(crate) fn new_other_name(oid: Asn1Object, value: &[u8]) -> Result { unsafe { ffi::init();