SRP_CTX doesn't exist when OPENSSL_NO_SRP is set

Closes #1047
This commit is contained in:
Steven Fackler 2019-01-25 09:19:14 -08:00 committed by GitHub
parent ec8aadb518
commit 637228e7ee
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,