Changeset 5409
- Timestamp:
- 03/15/08 09:36:57 (4 months ago)
- Files:
-
- trackerd/trunk/trackerd/tracker.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trackerd/trunk/trackerd/tracker.c
r5391 r5409 156 156 if(wt_settings.cipher) { 157 157 if(!wi_socket_tls_set_ciphers(wt_socket_tls, wt_settings.cipher)) { 158 wi_log_err(WI_STR("Could not set SSLcipher list \"%@\""),158 wi_log_err(WI_STR("Could not set TLS cipher list \"%@\""), 159 159 wt_settings.cipher); 160 160 } … … 167 167 if(certificate) { 168 168 if(!wi_socket_tls_set_certificate(wt_socket_tls, certificate)) 169 wi_log_err(WI_STR("Could not set certificate: %m"));169 wi_log_err(WI_STR("Could not set TLS certificate: %m")); 170 170 171 171 wi_release(certificate); … … 180 180 if(wt_private_key) { 181 181 if(!wi_socket_tls_set_private_key(wt_socket_tls, wt_private_key)) 182 wi_log_err(WI_STR("Could not set private key: %m"));182 wi_log_err(WI_STR("Could not set TLS private key: %m")); 183 183 } else { 184 184 wi_log_err(WI_STR("Could not load private key %@: %m"), … … 207 207 unsigned char dh1024_g[] = { 0x02 }; 208 208 209 wt_socket_tls = wi_socket_tls_init (wi_socket_tls_alloc());210 211 if(!w i_socket_tls_set_type(wt_socket_tls, WI_SOCKET_TLS_SERVER))212 wi_log_err(WI_STR("Could not set SSLcontext: %m"));209 wt_socket_tls = wi_socket_tls_init_with_type(wi_socket_tls_alloc(), WI_SOCKET_TLS_SERVER); 210 211 if(!wt_socket_tls) 212 wi_log_err(WI_STR("Could not create TLS context: %m")); 213 213 214 214 if(!wi_socket_tls_set_dh(wt_socket_tls, dh1024_p, sizeof(dh1024_p), dh1024_g, sizeof(dh1024_g)))
