Merge pull request #1049 from sfackler/sfackler-patch-1
SRP_CTX doesn't exist when OPENSSL_NO_SRP is set
This commit is contained in:
commit
3843d850b5
|
|
@ -947,6 +947,7 @@ cfg_if! {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
|
#[cfg(not(osslconf = "OPENSSL_NO_SRP"))]
|
||||||
pub struct SRP_CTX {
|
pub struct SRP_CTX {
|
||||||
SRP_cb_arg: *mut c_void,
|
SRP_cb_arg: *mut c_void,
|
||||||
TLS_ext_srp_username_callback: *mut c_void,
|
TLS_ext_srp_username_callback: *mut c_void,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue