summaryrefslogtreecommitdiff
path: root/src/rust/cryptography-x509/src/csr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/cryptography-x509/src/csr.rs')
-rw-r--r--src/rust/cryptography-x509/src/csr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rust/cryptography-x509/src/csr.rs b/src/rust/cryptography-x509/src/csr.rs
index c23d22d0f..d2cf9b5e2 100644
--- a/src/rust/cryptography-x509/src/csr.rs
+++ b/src/rust/cryptography-x509/src/csr.rs
@@ -26,7 +26,7 @@ pub struct CertificationRequestInfo<'a> {
impl CertificationRequestInfo<'_> {
pub fn get_extension_attribute(
&self,
- ) -> Result<Option<extensions::Extensions<'_>>, asn1::ParseError> {
+ ) -> Result<Option<extensions::RawExtensions<'_>>, asn1::ParseError> {
for attribute in self.attributes.unwrap_read().clone() {
if attribute.type_id == oid::EXTENSION_REQUEST
|| attribute.type_id == oid::MS_EXTENSION_REQUEST