1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// This file is part of bearssl-sys. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/bearssl-sys/master/COPYRIGHT. No part of bearssl-sys, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
// Copyright © 2016 The developers of bearssl-sys. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/bearssl-sys/master/COPYRIGHT.


pub const BR_ALERT_ACCESS_DENIED: c_uint = 49;
pub const BR_ALERT_BAD_CERTIFICATE: c_uint = 42;
pub const BR_ALERT_BAD_RECORD_MAC: c_uint = 20;
pub const BR_ALERT_CERTIFICATE_EXPIRED: c_uint = 45;
pub const BR_ALERT_CERTIFICATE_REVOKED: c_uint = 44;
pub const BR_ALERT_CERTIFICATE_UNKNOWN: c_uint = 46;
pub const BR_ALERT_CLOSE_NOTIFY: c_uint = 0;
pub const BR_ALERT_DECODE_ERROR: c_uint = 50;
pub const BR_ALERT_DECOMPRESSION_FAILURE: c_uint = 30;
pub const BR_ALERT_DECRYPT_ERROR: c_uint = 51;
pub const BR_ALERT_HANDSHAKE_FAILURE: c_uint = 40;
pub const BR_ALERT_ILLEGAL_PARAMETER: c_uint = 47;
pub const BR_ALERT_INSUFFICIENT_SECURITY: c_uint = 71;
pub const BR_ALERT_INTERNAL_ERROR: c_uint = 80;
pub const BR_ALERT_NO_APPLICATION_PROTOCOL: c_uint = 120;
pub const BR_ALERT_NO_RENEGOTIATION: c_uint = 100;
pub const BR_ALERT_PROTOCOL_VERSION: c_uint = 70;
pub const BR_ALERT_RECORD_OVERFLOW: c_uint = 22;
pub const BR_ALERT_UNEXPECTED_MESSAGE: c_uint = 10;
pub const BR_ALERT_UNKNOWN_CA: c_uint = 48;
pub const BR_ALERT_UNSUPPORTED_CERTIFICATE: c_uint = 43;
pub const BR_ALERT_UNSUPPORTED_EXTENSION: c_uint = 110;
pub const BR_ALERT_USER_CANCELED: c_uint = 90;