Ignore:
Timestamp:
Dec 18, 2014 4:40:35 AM (10 years ago)
Author:
riza
Message:

Re #1806: Implement SSL/TLS setting to set protocol operation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ssl_sock_symbian.cpp

    r4829 r4968  
    13841384 
    13851385    /* CSecureSocket only support TLS1.0 and SSL3.0 */ 
    1386     switch(ssock->proto) { 
    1387     case PJ_SSL_SOCK_PROTO_TLS1: 
     1386    if (ssock->proto & PJ_SSL_SOCK_PROTO_TLS1==PJ_SSL_SOCK_PROTO_TLS1) { 
    13881387        proto.Set((const TUint8*)"TLS1.0", 6); 
    1389         break; 
    1390     case PJ_SSL_SOCK_PROTO_SSL3: 
     1388    } else if (ssock->proto & PJ_SSL_SOCK_PROTO_SSL3==PJ_SSL_SOCK_PROTO_SSL3) { 
    13911389        proto.Set((const TUint8*)"SSL3.0", 6); 
    1392         break; 
    1393     default: 
     1390    } else { 
    13941391        return PJ_ENOTSUP; 
    13951392    } 
Note: See TracChangeset for help on using the changeset viewer.