diff --git a/lib/modules/SSL.pmod/handshake.pike b/lib/modules/SSL.pmod/handshake.pike index 07c3742eddee7d90f47e537f5f98cec5ede93ea3..f61fe7f36a9936e19919326443b9da51892bcd2d 100644 --- a/lib/modules/SSL.pmod/handshake.pike +++ b/lib/modules/SSL.pmod/handshake.pike @@ -1,4 +1,4 @@ -/* $Id: handshake.pike,v 1.26 2001/09/17 14:51:19 nilsson Exp $ +/* $Id: handshake.pike,v 1.27 2001/11/02 11:06:04 grubba Exp $ * */ @@ -1034,14 +1034,12 @@ int(-1..1) handle_handshake(int type, string data, string raw) case HANDSHAKE_certificate_request: { - werror("Certificate request not yet implemented.\n"); - array(int) cert_types = input->get_var_uint_array(1, 1); + werror("Certificate request not yet implemented.\n"); + array(int) cert_types = input->get_var_uint_array(1, 1); // int num_distinguished_names = input->get_uint(2); // array(string) distinguished_names = - send_packet(Alert(ALERT_fatal, ALERT_unexpected_message, version[1], - "SSL.session->handle_handshake: unexpected message\n", - backtrace())); - return -1; + send_packet(Alert(ALERT_warning, ALERT_no_certificate, version[1], + "", backtrace())); } break;