Changeset 4784

Show
Ignore:
Timestamp:
05/20/07 15:38:34 (2 years ago)
Author:
morris
Message:

Always set an SSL cipher list

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wire/trunk/wire/client.c

    r4423 r4784  
    164164                wi_log_err(WI_STR("Could not set SSL context: %m")); 
    165165         
     166        if(!wi_socket_context_set_ssl_ciphers(wr_socket_context, WI_STR("ALL:NULL:!MD5:@STRENGTH"))) 
     167                wi_log_err(WI_STR("Could not set SSL ciphers: %m")); 
     168         
    166169        options = WI_STRING_ENCODING_IGNORE | WI_STRING_ENCODING_TRANSLITERATE; 
    167170         
     
    216219                socket = wi_socket_init_with_address(wi_socket_alloc(), address, WI_SOCKET_TCP); 
    217220                wi_socket_set_interactive(socket, true); 
    218  
     221                 
    219222                if(!wi_socket_connect(socket, wr_socket_context, 10.0)) { 
    220223                        wr_printf_prefix(WI_STR("Could not connect to %@: %m"), ip); 
  • wire/trunk/wire/files.c

    r4758 r4784  
    275275        gl.gl_stat              = wr_files_glob_stat; 
    276276         
    277         status = glob(wi_string_cstring(pattern), GLOB_NOCHECK | GLOB_ALTDIRFUNC , NULL, &gl); 
     277        status = glob(wi_string_cstring(pattern), GLOB_NOCHECK | GLOB_ALTDIRFUNC, NULL, &gl); 
    278278         
    279279        if(status != 0) { 
     
    297297 
    298298#ifndef __GLIBC__ 
     299 
    299300static void * wr_files_glob_opendir(const char *path) { 
    300301        wr_files_glob_dir_t             *dir; 
     
    358359        return 0; 
    359360} 
     361 
    360362#endif 
    361363