PJ_DECL(void) jzrtp_SASRevoked(pjsua_call_id call_id) { struct jzrtp_allContext ac = jzrtp_getContext(call_id); if(ac.cbUserData != NULL){ ac.cbUserData->sas_verified = 0; } if(ac.zrtpContext != NULL){ zrtp_resetSASVerified(ac.zrtpContext); }else{ PJ_LOG(1, (THIS_FILE, "jzrtp_SASRevoked: No ZRTP context for call %d", call_id)); } }
void ortp_zrtp_sas_reset_verified(OrtpZrtpContext* ctx){ zrtp_resetSASVerified(ctx->zrtpContext); }