Ignore:
Timestamp:
Apr 17, 2018 10:52:33 AM (15 months ago)
Author:
nanang
Message:

Re #2096:

  • Fixed DTLS-SRTP issues with AEAD_AES_256_GCM crypto, e.g: material buffer length too short, silly mistake of missing comma in PJSIP-OpenSSL crypto map.
  • Fixed SRTP error PJMEDIA_SRTP_ESDPREQCRYPTO when crypto count is set to zero and SRTP is in mandatory mode.
  • Fixed SRTP transport attach where stream RTP/RTCP reception callbacks may be overriden by DTLS-SRTP.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/transport_srtp_dtls.c

    r5780 r5781  
    357357     "SRTP_AES128_CM_SHA1_80", 
    358358     "SRTP_AES128_CM_SHA1_32", 
    359      "SRTP_AEAD_AES_256_GCM" 
    360      "SRTP_AEAD_AES_128_GCM", 
     359     "SRTP_AEAD_AES_256_GCM", 
     360     "SRTP_AEAD_AES_128_GCM" 
    361361}; 
    362362static char* pj_profiles[] = 
     
    364364    "AES_CM_128_HMAC_SHA1_80", 
    365365    "AES_CM_128_HMAC_SHA1_32", 
    366     "AEAD_AES_256_GCM" 
    367     "AEAD_AES_128_GCM", 
     366    "AEAD_AES_256_GCM", 
     367    "AEAD_AES_128_GCM" 
    368368}; 
    369369 
     
    473473static pj_status_t ssl_get_srtp_material(dtls_srtp *ds) 
    474474{ 
    475     unsigned char material[SRTP_MAX_KEY_LEN]; 
     475    unsigned char material[SRTP_MAX_KEY_LEN * 2]; 
    476476    SRTP_PROTECTION_PROFILE *profile; 
    477477    int rc, i, crypto_idx = -1; 
Note: See TracChangeset for help on using the changeset viewer.