Changeset 4646
- Timestamp:
- 02/17/07 14:54:54 (2 years ago)
- Files:
-
- wired/branches/p7/wired/server.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wired/branches/p7/wired/server.c
r4634 r4646 66 66 67 67 static wi_p7_spec_t *wd_p7_spec; 68 static wi_ p7_rsa_t *wd_p7_rsa;68 static wi_rsa_t *wd_rsa; 69 69 70 70 wi_string_t *wd_banner; … … 260 260 261 261 void wd_ssl_init(void) { 262 wd_ p7_rsa = wi_p7_rsa_init_with_bits(wi_p7_rsa_alloc(), 1024);262 wd_rsa = wi_rsa_init_with_bits(wi_rsa_alloc(), 1024); 263 263 } 264 264 … … 299 299 300 300 p7_socket = wi_autorelease(wi_p7_socket_init_with_socket(wi_p7_socket_alloc(), socket, wd_p7_spec)); 301 wi_p7_socket_set_private_rsa(p7_socket, wd_ p7_rsa);301 wi_p7_socket_set_private_rsa(p7_socket, wd_rsa); 302 302 303 303 if(!wi_p7_socket_accept(p7_socket, 10.0, WI_P7_ALL)) {
