Unverified Commit d52ac4e4 authored by Alex Gaynor's avatar Alex Gaynor Committed by GitHub
Browse files

Fixed type mutability on asn1_flag

parent 92dca6bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -296,7 +296,7 @@ impl EcGroupRef {

    /// Gets the flag determining if the group corresponds to a named curve.
    #[corresponds(EC_GROUP_get_asn1_flag)]
    pub fn asn1_flag(&mut self) -> Asn1Flag {
    pub fn asn1_flag(&self) -> Asn1Flag {
        unsafe { Asn1Flag(ffi::EC_GROUP_get_asn1_flag(self.as_ptr())) }
    }