• Pascal Buhler's avatar
    Ensure returned trailer length is sufficient · 55626f32
    Pascal Buhler authored
    The srtp_get_protect_trailer_length needs to ensure
    that the returned value is large enough for any of
    the streams in the session.
    
    When a session is initialized with multiple polices
    it is possible to have different tag lengths for each
    policy. This function provides no way to specify which
    policy to use, so for now loop over all and find largest.
    
    The current function now has limited use so suggest to make
    two functions, one that takes ssrc or packet header so
    correct stream can be used, second function that takes a
    policy.
    
    # Conflicts:
    #	srtp/srtp.c
    55626f32
Name
Last commit
Last update
crypto Loading commit data...
doc Loading commit data...
include Loading commit data...
srtp Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGES Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README.md Loading commit data...
config.guess Loading commit data...
config.h_win32vc7 Loading commit data...
config.hw Loading commit data...
config.sub Loading commit data...
config_in.h Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
format.sh Loading commit data...
install-sh Loading commit data...
install-win.bat Loading commit data...
libsrtp2.pc.in Loading commit data...
srtp.def Loading commit data...
srtp.sln Loading commit data...
srtp2.vcxproj Loading commit data...
srtp2.vcxproj.filters Loading commit data...
timing Loading commit data...
undos.sh Loading commit data...
update.sh Loading commit data...