- Timestamp:
- Apr 12, 2018 12:48:20 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp_dtls.c
r5755 r5780 555 555 556 556 /* Check hash algo, currently we only support SHA-256 & SHA-1 */ 557 if (!pj_strn cmp2(&ds->rem_fingerprint, "SHA-256 ", 8))557 if (!pj_strnicmp2(&ds->rem_fingerprint, "SHA-256 ", 8)) 558 558 is_sha256 = PJ_TRUE; 559 else if (!pj_strn cmp2(&ds->rem_fingerprint, "SHA-1 ", 6))559 else if (!pj_strnicmp2(&ds->rem_fingerprint, "SHA-1 ", 6)) 560 560 is_sha256 = PJ_FALSE; 561 561 else {
Note: See TracChangeset
for help on using the changeset viewer.