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:
Steven Fackler 2019-01-25 09:33:08 -08:00 committed by GitHub
commit 3843d850b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -947,6 +947,7 @@ cfg_if! {
}
#[repr(C)]
#[cfg(not(osslconf = "OPENSSL_NO_SRP"))]
pub struct SRP_CTX {
SRP_cb_arg: *mut c_void,
TLS_ext_srp_username_callback: *mut c_void,