Changeset 5219


Ignore:
Timestamp:
Dec 30, 2015 3:35:53 AM (8 years ago)
Author:
ming
Message:

Re #1882 (misc): Add checking of crypto name in transport srtp.

Thanks to Dusan Klinec for the patch.

File:
1 edited

Legend:

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

    r5136 r5219  
    14571457                        { 
    14581458                            int cs_idx = get_crypto_idx(&tmp_rx_crypto.name); 
     1459                             
     1460                            if (cs_idx == -1) 
     1461                                return PJMEDIA_SRTP_ENOTSUPCRYPTO; 
    14591462 
    14601463                            /* Force to use test key */ 
Note: See TracChangeset for help on using the changeset viewer.