• Guillaume Roguez's avatar
    base64: fix pjsip assert · c0d5c121
    Guillaume Roguez authored
    we got a crash due to invalid output string size given
    to pj_base64_encode().
    PJSIP base64 functions have an assert that checks differently
    arguments validity than the previous implementation.
    This patch fixes that using the same computation as done in pjsip.
    Change-Id: I6b9b04be2670e817437a162ca453eff1aaa70420