Skip to content

Commit d52ac4e

Browse files
authored
Fixed type mutability on asn1_flag
1 parent 92dca6b commit d52ac4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openssl/src/ec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ impl EcGroupRef {
296296

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

0 commit comments

Comments
 (0)