|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
// written by Pierre Chifflier <chifflier@wzdftpd.net>
|
|
|
|
|
|
|
|
|
|
use crate::jsonbuilder::{JsonBuilder, JsonError};
|
|
|
|
|
use crate::krb::krb5::{KRB5State,KRB5Transaction,test_weak_encryption};
|
|
|
|
|
use crate::krb::krb5::{KRB5Transaction,test_weak_encryption};
|
|
|
|
|
|
|
|
|
|
fn krb5_log_response(jsb: &mut JsonBuilder, tx: &mut KRB5Transaction) -> Result<(), JsonError>
|
|
|
|
|
{
|
|
|
|
@ -68,7 +68,7 @@ fn krb5_log_response(jsb: &mut JsonBuilder, tx: &mut KRB5Transaction) -> Result<
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
|
pub extern "C" fn rs_krb5_log_json_response(jsb: &mut JsonBuilder, _state: &mut KRB5State, tx: &mut KRB5Transaction) -> bool
|
|
|
|
|
pub extern "C" fn rs_krb5_log_json_response(jsb: &mut JsonBuilder, tx: &mut KRB5Transaction) -> bool
|
|
|
|
|
{
|
|
|
|
|
krb5_log_response(jsb, tx).is_ok()
|
|
|
|
|
}
|
|
|
|
|