Changeset 4537 for pjproject/trunk/pjsip-apps/src/samples/streamutil.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/streamutil.c
r3664 r4537 361 361 362 362 case OPT_SRTP_TX_KEY: 363 tmp_key_len = hex_string_to_octet_string(tmp_tx_key, pj_optarg, strlen(pj_optarg)); 363 tmp_key_len = hex_string_to_octet_string(tmp_tx_key, pj_optarg, 364 (int)strlen(pj_optarg)); 364 365 pj_strset(&srtp_tx_key, tmp_tx_key, tmp_key_len/2); 365 366 break; 366 367 367 368 case OPT_SRTP_RX_KEY: 368 tmp_key_len = hex_string_to_octet_string(tmp_rx_key, pj_optarg, strlen(pj_optarg)); 369 tmp_key_len = hex_string_to_octet_string(tmp_rx_key, pj_optarg, 370 (int)strlen(pj_optarg)); 369 371 pj_strset(&srtp_rx_key, tmp_rx_key, tmp_key_len/2); 370 372 break;
Note: See TracChangeset
for help on using the changeset viewer.