send alert
| 1030 | |
| 1031 | // send alert |
| 1032 | int sendAlert(SSL& ssl, const Alert& alert) |
| 1033 | { |
| 1034 | output_buffer out; |
| 1035 | buildAlert(ssl, out, alert); |
| 1036 | ssl.Send(out.get_buffer(), out.get_size()); |
| 1037 | |
| 1038 | return alert.get_length(); |
| 1039 | } |
| 1040 | |
| 1041 | |
| 1042 | // process input data |
no test coverage detected