Implement get_handle for X509Req
This commit is contained in:
parent
bdfa54cfdb
commit
7c082904fc
|
|
@ -611,6 +611,10 @@ impl X509Req {
|
||||||
X509Req { handle: handle }
|
X509Req { handle: handle }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn get_handle(&self) -> *mut ffi::X509_REQ {
|
||||||
|
self.handle
|
||||||
|
}
|
||||||
|
|
||||||
/// Reads CSR from PEM
|
/// Reads CSR from PEM
|
||||||
pub fn from_pem<R>(reader: &mut R) -> Result<X509Req, SslError>
|
pub fn from_pem<R>(reader: &mut R) -> Result<X509Req, SslError>
|
||||||
where R: Read
|
where R: Read
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue