Changeset 5929 for pjproject/trunk/pjlib/src/pj/ssl_sock_gtls.c
- Timestamp:
- Jan 9, 2019 9:15:11 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ssl_sock_gtls.c
r5821 r5929 494 494 unsigned int i; 495 495 496 for (i = 0; ; i++) {496 for (i = 0; i<PJ_ARRAY_SIZE(tls_ciphers); i++) { 497 497 unsigned char id[2]; 498 498 const char *suite; … … 504 504 * ciphers anyway, so by checking here we can exit the loop as soon 505 505 * as either all ciphers have been added or the array is full */ 506 if (suite && i < PJ_ARRAY_SIZE(tls_ciphers)) {506 if (suite) { 507 507 tls_ciphers[i].id = (pj_ssl_cipher) 508 508 (pj_uint32_t) ((id[0] << 8) | id[1]);
Note: See TracChangeset
for help on using the changeset viewer.