Changeset 3110 for pjproject/trunk/pjlib/src/pjlib-test/ssl_sock.c
- Timestamp:
- Feb 25, 2010 11:58:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/ssl_sock.c
r3106 r3110 108 108 /* Dump remote TLS certificate verification result */ 109 109 verif_msg_cnt = PJ_ARRAY_SIZE(verif_msgs); 110 pj_ssl_cert_ verify_error_st(si->verify_status,111 verif_msgs, &verif_msg_cnt);110 pj_ssl_cert_get_verify_status_strings(si->verify_status, 111 verif_msgs, &verif_msg_cnt); 112 112 PJ_LOG(3,("", ".....Remote certificate verification result: %s", 113 113 (verif_msg_cnt == 1? verif_msgs[0]:""))); … … 1154 1154 #ifndef PJ_SYMBIAN 1155 1155 1156 PJ_LOG(3,("", "..echo test w/ TLSv1 and TLS_RSA_WITH_DES_CBC_SHA cipher"));1156 PJ_LOG(3,("", "..echo test w/ TLSv1 and PJ_TLS_RSA_WITH_DES_CBC_SHA cipher")); 1157 1157 ret = echo_test(PJ_SSL_SOCK_PROTO_TLS1, PJ_SSL_SOCK_PROTO_TLS1, 1158 TLS_RSA_WITH_DES_CBC_SHA,TLS_RSA_WITH_DES_CBC_SHA,1158 PJ_TLS_RSA_WITH_DES_CBC_SHA, PJ_TLS_RSA_WITH_DES_CBC_SHA, 1159 1159 PJ_FALSE, PJ_FALSE); 1160 1160 if (ret != 0) 1161 1161 return ret; 1162 1162 1163 PJ_LOG(3,("", "..echo test w/ SSLv23 and TLS_RSA_WITH_AES_256_CBC_SHA cipher"));1163 PJ_LOG(3,("", "..echo test w/ SSLv23 and PJ_TLS_RSA_WITH_AES_256_CBC_SHA cipher")); 1164 1164 ret = echo_test(PJ_SSL_SOCK_PROTO_SSL23, PJ_SSL_SOCK_PROTO_SSL23, 1165 TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,1165 PJ_TLS_RSA_WITH_AES_256_CBC_SHA, PJ_TLS_RSA_WITH_AES_256_CBC_SHA, 1166 1166 PJ_FALSE, PJ_FALSE); 1167 1167 if (ret != 0) … … 1170 1170 PJ_LOG(3,("", "..echo test w/ incompatible proto")); 1171 1171 ret = echo_test(PJ_SSL_SOCK_PROTO_TLS1, PJ_SSL_SOCK_PROTO_SSL3, 1172 TLS_RSA_WITH_DES_CBC_SHA,TLS_RSA_WITH_DES_CBC_SHA,1172 PJ_TLS_RSA_WITH_DES_CBC_SHA, PJ_TLS_RSA_WITH_DES_CBC_SHA, 1173 1173 PJ_FALSE, PJ_FALSE); 1174 1174 if (ret == 0) … … 1177 1177 PJ_LOG(3,("", "..echo test w/ incompatible ciphers")); 1178 1178 ret = echo_test(PJ_SSL_SOCK_PROTO_DEFAULT, PJ_SSL_SOCK_PROTO_DEFAULT, 1179 TLS_RSA_WITH_DES_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,1179 PJ_TLS_RSA_WITH_DES_CBC_SHA, PJ_TLS_RSA_WITH_AES_256_CBC_SHA, 1180 1180 PJ_FALSE, PJ_FALSE); 1181 1181 if (ret == 0) … … 1184 1184 PJ_LOG(3,("", "..echo test w/ client cert required but not provided")); 1185 1185 ret = echo_test(PJ_SSL_SOCK_PROTO_DEFAULT, PJ_SSL_SOCK_PROTO_DEFAULT, 1186 TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,1186 PJ_TLS_RSA_WITH_AES_256_CBC_SHA, PJ_TLS_RSA_WITH_AES_256_CBC_SHA, 1187 1187 PJ_TRUE, PJ_FALSE); 1188 1188 if (ret == 0) … … 1191 1191 PJ_LOG(3,("", "..echo test w/ client cert required and provided")); 1192 1192 ret = echo_test(PJ_SSL_SOCK_PROTO_DEFAULT, PJ_SSL_SOCK_PROTO_DEFAULT, 1193 TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,1193 PJ_TLS_RSA_WITH_AES_256_CBC_SHA, PJ_TLS_RSA_WITH_AES_256_CBC_SHA, 1194 1194 PJ_TRUE, PJ_TRUE); 1195 1195 if (ret != 0)
Note: See TracChangeset
for help on using the changeset viewer.