Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH
[openssl.git] / ssl / ssl.err
index f3bc5d3..ad86fbc 100644 (file)
 #define SSL_F_SSL_BYTES_TO_CIPHER_LIST                  161
 #define SSL_F_SSL_CERT_NEW                              162
 #define SSL_F_SSL_CHECK_PRIVATE_KEY                     163
-#define SSL_F_SSL_CREATE_CIPHER_LIST                    164
-#define SSL_F_SSL_CTX_CHECK_PRIVATE_KEY                         165
-#define SSL_F_SSL_CTX_NEW                               166
-#define SSL_F_SSL_CTX_SET_SSL_VERSION                   167
-#define SSL_F_SSL_CTX_USE_CERTIFICATE                   168
-#define SSL_F_SSL_CTX_USE_CERTIFICATE_ASN1              169
-#define SSL_F_SSL_CTX_USE_CERTIFICATE_FILE              170
-#define SSL_F_SSL_CTX_USE_PRIVATEKEY                    171
-#define SSL_F_SSL_CTX_USE_PRIVATEKEY_ASN1               172
-#define SSL_F_SSL_CTX_USE_PRIVATEKEY_FILE               173
-#define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY                         174
-#define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_ASN1            175
-#define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE            176
-#define SSL_F_SSL_DO_HANDSHAKE                          177
-#define SSL_F_SSL_GET_NEW_SESSION                       178
-#define SSL_F_SSL_GET_SERVER_SEND_CERT                  179
-#define SSL_F_SSL_GET_SIGN_PKEY                                 180
-#define SSL_F_SSL_LOAD_CLIENT_CA_FILE                   181
-#define SSL_F_SSL_NEW                                   182
-#define SSL_F_SSL_RSA_PRIVATE_DECRYPT                   183
-#define SSL_F_SSL_RSA_PUBLIC_ENCRYPT                    184
-#define SSL_F_SSL_SESSION_NEW                           185
-#define SSL_F_SSL_SESSION_PRINT_FP                      186
-#define SSL_F_SSL_SET_FD                                187
-#define SSL_F_SSL_SET_PKEY                              188
-#define SSL_F_SSL_SET_RFD                               189
-#define SSL_F_SSL_SET_SESSION                           190
-#define SSL_F_SSL_SET_WFD                               191
-#define SSL_F_SSL_UNDEFINED_FUNCTION                    192
-#define SSL_F_SSL_USE_CERTIFICATE                       193
-#define SSL_F_SSL_USE_CERTIFICATE_ASN1                  194
-#define SSL_F_SSL_USE_CERTIFICATE_FILE                  195
-#define SSL_F_SSL_USE_PRIVATEKEY                        196
-#define SSL_F_SSL_USE_PRIVATEKEY_ASN1                   197
-#define SSL_F_SSL_USE_PRIVATEKEY_FILE                   198
-#define SSL_F_SSL_USE_RSAPRIVATEKEY                     199
-#define SSL_F_SSL_USE_RSAPRIVATEKEY_ASN1                200
-#define SSL_F_SSL_USE_RSAPRIVATEKEY_FILE                201
-#define SSL_F_SSL_WRITE                                         202
-#define SSL_F_WRITE_PENDING                             203
+#define SSL_F_SSL_CLEAR                                         164
+#define SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD           165
+#define SSL_F_SSL_CREATE_CIPHER_LIST                    166
+#define SSL_F_SSL_CTX_CHECK_PRIVATE_KEY                         168
+#define SSL_F_SSL_CTX_NEW                               169
+#define SSL_F_SSL_CTX_SET_SSL_VERSION                   170
+#define SSL_F_SSL_CTX_USE_CERTIFICATE                   171
+#define SSL_F_SSL_CTX_USE_CERTIFICATE_ASN1              172
+#define SSL_F_SSL_CTX_USE_CERTIFICATE_FILE              173
+#define SSL_F_SSL_CTX_USE_PRIVATEKEY                    174
+#define SSL_F_SSL_CTX_USE_PRIVATEKEY_ASN1               175
+#define SSL_F_SSL_CTX_USE_PRIVATEKEY_FILE               176
+#define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY                         177
+#define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_ASN1            178
+#define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE            179
+#define SSL_F_SSL_DO_HANDSHAKE                          180
+#define SSL_F_SSL_GET_NEW_SESSION                       181
+#define SSL_F_SSL_GET_SERVER_SEND_CERT                  182
+#define SSL_F_SSL_GET_SIGN_PKEY                                 183
+#define SSL_F_SSL_INIT_WBIO_BUFFER                      184
+#define SSL_F_SSL_LOAD_CLIENT_CA_FILE                   185
+#define SSL_F_SSL_NEW                                   186
+#define SSL_F_SSL_RSA_PRIVATE_DECRYPT                   187
+#define SSL_F_SSL_RSA_PUBLIC_ENCRYPT                    188
+#define SSL_F_SSL_SESSION_NEW                           189
+#define SSL_F_SSL_SESSION_PRINT_FP                      190
+#define SSL_F_SSL_SET_CERT                              191
+#define SSL_F_SSL_SET_FD                                192
+#define SSL_F_SSL_SET_PKEY                              193
+#define SSL_F_SSL_SET_RFD                               194
+#define SSL_F_SSL_SET_SESSION                           195
+#define SSL_F_SSL_SET_WFD                               196
+#define SSL_F_SSL_UNDEFINED_FUNCTION                    197
+#define SSL_F_SSL_USE_CERTIFICATE                       198
+#define SSL_F_SSL_USE_CERTIFICATE_ASN1                  199
+#define SSL_F_SSL_USE_CERTIFICATE_FILE                  200
+#define SSL_F_SSL_USE_PRIVATEKEY                        201
+#define SSL_F_SSL_USE_PRIVATEKEY_ASN1                   202
+#define SSL_F_SSL_USE_PRIVATEKEY_FILE                   203
+#define SSL_F_SSL_USE_RSAPRIVATEKEY                     204
+#define SSL_F_SSL_USE_RSAPRIVATEKEY_ASN1                205
+#define SSL_F_SSL_USE_RSAPRIVATEKEY_FILE                206
+#define SSL_F_SSL_VERIFY_CERT_CHAIN                     207
+#define SSL_F_SSL_WRITE                                         208
+#define SSL_F_TLS1_CHANGE_CIPHER_STATE                  209
+#define SSL_F_TLS1_ENC                                  210
+#define SSL_F_TLS1_SETUP_KEY_BLOCK                      211
+#define SSL_F_WRITE_PENDING                             212
+#define SSL_F_SSL3_CTRL                                         213
+#define SSL_F_SSL_CERT_INSTANTIATE                      214
 
 /* Reason codes. */
 #define SSL_R_APP_DATA_IN_HANDSHAKE                     100
 #define SSL_R_BAD_MAC_DECODE                            113
 #define SSL_R_BAD_MESSAGE_TYPE                          114
 #define SSL_R_BAD_PACKET_LENGTH                                 115
-#define SSL_R_BAD_RESPONSE_ARGUMENT                     116
-#define SSL_R_BAD_RSA_DECRYPT                           117
-#define SSL_R_BAD_RSA_ENCRYPT                           118
-#define SSL_R_BAD_RSA_E_LENGTH                          119
-#define SSL_R_BAD_RSA_MODULUS_LENGTH                    120
-#define SSL_R_BAD_RSA_SIGNATURE                                 121
-#define SSL_R_BAD_SIGNATURE                             122
-#define SSL_R_BAD_SSL_FILETYPE                          123
-#define SSL_R_BAD_SSL_SESSION_ID_LENGTH                         124
-#define SSL_R_BAD_STATE                                         125
-#define SSL_R_BAD_WRITE_RETRY                           126
-#define SSL_R_BIO_NOT_SET                               127
-#define SSL_R_BLOCK_CIPHER_PAD_IS_WRONG                         128
-#define SSL_R_BN_LIB                                    129
-#define SSL_R_CA_DN_LENGTH_MISMATCH                     130
-#define SSL_R_CA_DN_TOO_LONG                            131
-#define SSL_R_CCS_RECEIVED_EARLY                        132
-#define SSL_R_CERTIFICATE_VERIFY_FAILED                         133
-#define SSL_R_CERT_LENGTH_MISMATCH                      134
-#define SSL_R_CHALLENGE_IS_DIFFERENT                    135
-#define SSL_R_CIPHER_CODE_WRONG_LENGTH                  136
-#define SSL_R_CIPHER_OR_HASH_UNAVAILABLE                137
-#define SSL_R_CIPHER_TABLE_SRC_ERROR                    138
-#define SSL_R_COMPRESSED_LENGTH_TOO_LONG                139
-#define SSL_R_COMPRESSION_FAILURE                       140
-#define SSL_R_CONNECTION_ID_IS_DIFFERENT                141
-#define SSL_R_DATA_BETWEEN_CCS_AND_FINISHED             142
-#define SSL_R_DATA_LENGTH_TOO_LONG                      143
-#define SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG           144
-#define SSL_R_DIGEST_CHECK_FAILED                       145
-#define SSL_R_ENCRYPTED_LENGTH_TOO_LONG                         146
-#define SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST             147
-#define SSL_R_EXCESSIVE_MESSAGE_SIZE                    148
-#define SSL_R_EXTRA_DATA_IN_MESSAGE                     149
-#define SSL_R_GOT_A_FIN_BEFORE_A_CCS                    150
-#define SSL_R_INTERNAL_ERROR                            151
-#define SSL_R_INVALID_CHALLENGE_LENGTH                  152
-#define SSL_R_LENGTH_MISMATCH                           153
-#define SSL_R_LENGTH_TOO_SHORT                          154
-#define SSL_R_LIBRARY_HAS_NO_CIPHERS                    155
-#define SSL_R_MISSING_DH_DSA_CERT                       156
-#define SSL_R_MISSING_DH_KEY                            157
-#define SSL_R_MISSING_DH_RSA_CERT                       158
-#define SSL_R_MISSING_DSA_SIGNING_CERT                  159
-#define SSL_R_MISSING_EXPORT_TMP_DH_KEY                         160
-#define SSL_R_MISSING_EXPORT_TMP_RSA_KEY                161
-#define SSL_R_MISSING_RSA_CERTIFICATE                   162
-#define SSL_R_MISSING_RSA_ENCRYPTING_CERT               163
-#define SSL_R_MISSING_RSA_SIGNING_CERT                  164
-#define SSL_R_MISSING_TMP_DH_KEY                        165
-#define SSL_R_MISSING_TMP_RSA_KEY                       166
-#define SSL_R_MISSING_TMP_RSA_PKEY                      167
-#define SSL_R_MISSING_VERIFY_MESSAGE                    168
-#define SSL_R_NON_SSLV2_INITIAL_PACKET                  169
-#define SSL_R_NO_CERTIFICATES_PASSED                    170
-#define SSL_R_NO_CERTIFICATE_ASSIGNED                   171
-#define SSL_R_NO_CERTIFICATE_RETURNED                   172
-#define SSL_R_NO_CERTIFICATE_SET                        173
-#define SSL_R_NO_CERTIFICATE_SPECIFIED                  174
-#define SSL_R_NO_CIPHERS_AVAILABLE                      175
-#define SSL_R_NO_CIPHERS_PASSED                                 176
-#define SSL_R_NO_CIPHERS_SPECIFIED                      177
-#define SSL_R_NO_CIPHER_LIST                            178
-#define SSL_R_NO_CIPHER_MATCH                           179
-#define SSL_R_NO_CLIENT_CERT_RECEIVED                   180
-#define SSL_R_NO_COMPRESSION_SPECIFIED                  181
-#define SSL_R_NO_PRIVATEKEY                             182
-#define SSL_R_NO_PRIVATE_KEY_ASSIGNED                   183
-#define SSL_R_NO_PUBLICKEY                              184
-#define SSL_R_NO_SHARED_CIPHER                          185
-#define SSL_R_NULL_SSL_CTX                              186
-#define SSL_R_NULL_SSL_METHOD_PASSED                    187
-#define SSL_R_OLD_SESSION_CIPHER_NOT_RETURNED           188
-#define SSL_R_PACKET_LENGTH_TOO_LONG                    189
-#define SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE                 190
-#define SSL_R_PEER_ERROR                                191
-#define SSL_R_PEER_ERROR_CERTIFICATE                    192
-#define SSL_R_PEER_ERROR_NO_CERTIFICATE                         193
-#define SSL_R_PEER_ERROR_NO_CIPHER                      194
-#define SSL_R_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE   195
-#define SSL_R_PRE_MAC_LENGTH_TOO_LONG                   196
-#define SSL_R_PROBLEMS_MAPPING_CIPHER_FUNCTIONS                 197
-#define SSL_R_PROTOCOL_IS_SHUTDOWN                      198
-#define SSL_R_PUBLIC_KEY_ENCRYPT_ERROR                  199
-#define SSL_R_PUBLIC_KEY_IS_NOT_RSA                     200
-#define SSL_R_PUBLIC_KEY_NOT_RSA                        201
-#define SSL_R_READ_BIO_NOT_SET                          202
-#define SSL_R_READ_WRONG_PACKET_TYPE                    203
-#define SSL_R_RECORD_LENGTH_MISMATCH                    204
-#define SSL_R_RECORD_TOO_LARGE                          205
-#define SSL_R_REQUIRED_CIPHER_MISSING                   206
-#define SSL_R_REUSE_CERT_LENGTH_NOT_ZERO                207
-#define SSL_R_REUSE_CERT_TYPE_NOT_ZERO                  208
-#define SSL_R_REUSE_CIPHER_LIST_NOT_ZERO                209
-#define SSL_R_SHORT_READ                                210
-#define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE     211
-#define SSL_R_SSL3_SESSION_ID_TOO_SHORT                         212
+#define SSL_R_BAD_PROTOCOL_VERSION_NUMBER               116
+#define SSL_R_BAD_RESPONSE_ARGUMENT                     117
+#define SSL_R_BAD_RSA_DECRYPT                           118
+#define SSL_R_BAD_RSA_ENCRYPT                           119
+#define SSL_R_BAD_RSA_E_LENGTH                          120
+#define SSL_R_BAD_RSA_MODULUS_LENGTH                    121
+#define SSL_R_BAD_RSA_SIGNATURE                                 122
+#define SSL_R_BAD_SIGNATURE                             123
+#define SSL_R_BAD_SSL_FILETYPE                          124
+#define SSL_R_BAD_SSL_SESSION_ID_LENGTH                         125
+#define SSL_R_BAD_STATE                                         126
+#define SSL_R_BAD_WRITE_RETRY                           127
+#define SSL_R_BIO_NOT_SET                               128
+#define SSL_R_BLOCK_CIPHER_PAD_IS_WRONG                         129
+#define SSL_R_BN_LIB                                    130
+#define SSL_R_CA_DN_LENGTH_MISMATCH                     131
+#define SSL_R_CA_DN_TOO_LONG                            132
+#define SSL_R_CCS_RECEIVED_EARLY                        133
+#define SSL_R_CERTIFICATE_VERIFY_FAILED                         134
+#define SSL_R_CERT_LENGTH_MISMATCH                      135
+#define SSL_R_CHALLENGE_IS_DIFFERENT                    136
+#define SSL_R_CIPHER_CODE_WRONG_LENGTH                  137
+#define SSL_R_CIPHER_OR_HASH_UNAVAILABLE                138
+#define SSL_R_CIPHER_TABLE_SRC_ERROR                    139
+#define SSL_R_COMPRESSED_LENGTH_TOO_LONG                140
+#define SSL_R_COMPRESSION_FAILURE                       141
+#define SSL_R_COMPRESSION_LIBRARY_ERROR                         142
+#define SSL_R_CONNECTION_ID_IS_DIFFERENT                143
+#define SSL_R_CONNECTION_TYPE_NOT_SET                   144
+#define SSL_R_DATA_BETWEEN_CCS_AND_FINISHED             145
+#define SSL_R_DATA_LENGTH_TOO_LONG                      146
+#define SSL_R_DECRYPTION_FAILED                                 147
+#define SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG           148
+#define SSL_R_DIGEST_CHECK_FAILED                       149
+#define SSL_R_ENCRYPTED_LENGTH_TOO_LONG                         150
+#define SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST             151
+#define SSL_R_EXCESSIVE_MESSAGE_SIZE                    152
+#define SSL_R_EXTRA_DATA_IN_MESSAGE                     153
+#define SSL_R_GOT_A_FIN_BEFORE_A_CCS                    154
+#define SSL_R_HTTPS_PROXY_REQUEST                       155
+#define SSL_R_HTTP_REQUEST                              156
+#define SSL_R_INTERNAL_ERROR                            157
+#define SSL_R_INVALID_CHALLENGE_LENGTH                  158
+#define SSL_R_LENGTH_MISMATCH                           159
+#define SSL_R_LENGTH_TOO_SHORT                          160
+#define SSL_R_LIBRARY_HAS_NO_CIPHERS                    161
+#define SSL_R_MISSING_DH_DSA_CERT                       162
+#define SSL_R_MISSING_DH_KEY                            163
+#define SSL_R_MISSING_DH_RSA_CERT                       164
+#define SSL_R_MISSING_DSA_SIGNING_CERT                  165
+#define SSL_R_MISSING_EXPORT_TMP_DH_KEY                         166
+#define SSL_R_MISSING_EXPORT_TMP_RSA_KEY                167
+#define SSL_R_MISSING_RSA_CERTIFICATE                   168
+#define SSL_R_MISSING_RSA_ENCRYPTING_CERT               169
+#define SSL_R_MISSING_RSA_SIGNING_CERT                  170
+#define SSL_R_MISSING_TMP_DH_KEY                        171
+#define SSL_R_MISSING_TMP_RSA_KEY                       172
+#define SSL_R_MISSING_TMP_RSA_PKEY                      173
+#define SSL_R_MISSING_VERIFY_MESSAGE                    174
+#define SSL_R_NON_SSLV2_INITIAL_PACKET                  175
+#define SSL_R_NO_CERTIFICATES_RETURNED                  176
+#define SSL_R_NO_CERTIFICATE_ASSIGNED                   177
+#define SSL_R_NO_CERTIFICATE_RETURNED                   178
+#define SSL_R_NO_CERTIFICATE_SET                        179
+#define SSL_R_NO_CERTIFICATE_SPECIFIED                  180
+#define SSL_R_NO_CIPHERS_AVAILABLE                      181
+#define SSL_R_NO_CIPHERS_PASSED                                 182
+#define SSL_R_NO_CIPHERS_SPECIFIED                      183
+#define SSL_R_NO_CIPHER_LIST                            184
+#define SSL_R_NO_CIPHER_MATCH                           185
+#define SSL_R_NO_CLIENT_CERT_RECEIVED                   186
+#define SSL_R_NO_COMPRESSION_SPECIFIED                  187
+#define SSL_R_NO_METHOD_SPECIFIED                       188
+#define SSL_R_NO_PRIVATEKEY                             189
+#define SSL_R_NO_PRIVATE_KEY_ASSIGNED                   190
+#define SSL_R_NO_PROTOCOLS_AVAILABLE                    191
+#define SSL_R_NO_PUBLICKEY                              192
+#define SSL_R_NO_SHARED_CIPHER                          193
+#define SSL_R_NO_VERIFY_CALLBACK                        194
+#define SSL_R_NULL_SSL_CTX                              195
+#define SSL_R_NULL_SSL_METHOD_PASSED                    196
+#define SSL_R_OLD_SESSION_CIPHER_NOT_RETURNED           197
+#define SSL_R_PACKET_LENGTH_TOO_LONG                    198
+#define SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE                 199
+#define SSL_R_PEER_ERROR                                200
+#define SSL_R_PEER_ERROR_CERTIFICATE                    201
+#define SSL_R_PEER_ERROR_NO_CERTIFICATE                         202
+#define SSL_R_PEER_ERROR_NO_CIPHER                      203
+#define SSL_R_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE   204
+#define SSL_R_PRE_MAC_LENGTH_TOO_LONG                   205
+#define SSL_R_PROBLEMS_MAPPING_CIPHER_FUNCTIONS                 206
+#define SSL_R_PROTOCOL_IS_SHUTDOWN                      207
+#define SSL_R_PUBLIC_KEY_ENCRYPT_ERROR                  208
+#define SSL_R_PUBLIC_KEY_IS_NOT_RSA                     209
+#define SSL_R_PUBLIC_KEY_NOT_RSA                        210
+#define SSL_R_READ_BIO_NOT_SET                          211
+#define SSL_R_READ_WRONG_PACKET_TYPE                    212
+#define SSL_R_RECORD_LENGTH_MISMATCH                    213
+#define SSL_R_RECORD_TOO_LARGE                          214
+#define SSL_R_REQUIRED_CIPHER_MISSING                   215
+#define SSL_R_REUSE_CERT_LENGTH_NOT_ZERO                216
+#define SSL_R_REUSE_CERT_TYPE_NOT_ZERO                  217
+#define SSL_R_REUSE_CIPHER_LIST_NOT_ZERO                218
+#define SSL_R_SHORT_READ                                219
+#define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE     220
+#define SSL_R_SSL23_DOING_SESSION_ID_REUSE              221
+#define SSL_R_SSL3_SESSION_ID_TOO_SHORT                         222
 #define SSL_R_SSLV3_ALERT_BAD_CERTIFICATE               1042
 #define SSL_R_SSLV3_ALERT_BAD_RECORD_MAC                1020
 #define SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED           1045
 #define SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE             1040
 #define SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER             1047
 #define SSL_R_SSLV3_ALERT_NO_CERTIFICATE                1041
-#define SSL_R_SSLV3_ALERT_PEER_ERROR_CERTIFICATE        213
-#define SSL_R_SSLV3_ALERT_PEER_ERROR_NO_CERTIFICATE     214
-#define SSL_R_SSLV3_ALERT_PEER_ERROR_NO_CIPHER          215
-#define SSL_R_SSLV3_ALERT_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE 216
+#define SSL_R_SSLV3_ALERT_PEER_ERROR_CERTIFICATE        223
+#define SSL_R_SSLV3_ALERT_PEER_ERROR_NO_CERTIFICATE     224
+#define SSL_R_SSLV3_ALERT_PEER_ERROR_NO_CIPHER          225
+#define SSL_R_SSLV3_ALERT_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE 226
 #define SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE            1010
-#define SSL_R_SSLV3_ALERT_UNKNOWN_REMOTE_ERROR_TYPE     217
+#define SSL_R_SSLV3_ALERT_UNKNOWN_REMOTE_ERROR_TYPE     227
 #define SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE       1043
-#define SSL_R_SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION        218
-#define SSL_R_SSL_HANDSHAKE_FAILURE                     219
-#define SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS                220
-#define SSL_R_SSL_SESSION_ID_IS_DIFFERENT               221
-#define SSL_R_TRIED_TO_USE_UNSUPPORTED_CIPHER           222
-#define SSL_R_UNABLE_TO_DECODE_DH_CERTS                         223
-#define SSL_R_UNABLE_TO_EXTRACT_PUBLIC_KEY              224
-#define SSL_R_UNABLE_TO_FIND_DH_PARAMETERS              225
-#define SSL_R_UNABLE_TO_FIND_PUBLIC_KEY_PARAMETERS      226
-#define SSL_R_UNABLE_TO_FIND_SSL_METHOD                         227
-#define SSL_R_UNEXPECTED_MESSAGE                        228
-#define SSL_R_UNEXPECTED_RECORD                                 229
-#define SSL_R_UNKNOWN_ALERT_TYPE                        230
-#define SSL_R_UNKNOWN_CERTIFICATE_TYPE                  231
-#define SSL_R_UNKNOWN_CIPHER_RETURNED                   232
-#define SSL_R_UNKNOWN_CIPHER_TYPE                       233
-#define SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE                         234
-#define SSL_R_UNKNOWN_PKEY_TYPE                                 235
-#define SSL_R_UNKNOWN_PROTOCOL                          236
-#define SSL_R_UNKNOWN_REMOTE_ERROR_TYPE                         237
-#define SSL_R_UNKNOWN_SSL_VERSION                       238
-#define SSL_R_UNKNOWN_STATE                             239
-#define SSL_R_UNSUPPORTED_CIPHER                        240
-#define SSL_R_UNSUPPORTED_COMPRESSION_ALGORITHM                 241
-#define SSL_R_UNSUPPORTED_SSL_VERSION                   242
-#define SSL_R_WRITE_BIO_NOT_SET                                 243
-#define SSL_R_WRONG_CIPHER_RETURNED                     244
-#define SSL_R_WRONG_MESSAGE_TYPE                        245
-#define SSL_R_WRONG_NUMBER_OF_KEY_BITS                  246
-#define SSL_R_WRONG_SIGNATURE_LENGTH                    247
-#define SSL_R_WRONG_SIGNATURE_SIZE                      248
-#define SSL_R_WRONG_SSL_VERSION                                 249
-#define SSL_R_WRONG_VERSION_NUMBER                      250
-#define SSL_R_X509_LIB                                  251
+#define SSL_R_SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION        228
+#define SSL_R_SSL_HANDSHAKE_FAILURE                     229
+#define SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS                230
+#define SSL_R_SSL_SESSION_ID_IS_DIFFERENT               231
+#define SSL_R_TLSV1_ALERT_ACCESS_DENIED                         1049
+#define SSL_R_TLSV1_ALERT_DECODE_ERROR                  1050
+#define SSL_R_TLSV1_ALERT_DECRYPTION_FAILED             1021
+#define SSL_R_TLSV1_ALERT_DECRYPT_ERROR                         1051
+#define SSL_R_TLSV1_ALERT_EXPORT_RESTRICION             1060
+#define SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY                 1071
+#define SSL_R_TLSV1_ALERT_INTERNAL_ERROR                1080
+#define SSL_R_TLSV1_ALERT_NO_RENEGOTIATION              1100
+#define SSL_R_TLSV1_ALERT_PROTOCOL_VERSION              1070
+#define SSL_R_TLSV1_ALERT_RECORD_OVERFLOW               1022
+#define SSL_R_TLSV1_ALERT_UNKNOWN_CA                    1048
+#define SSL_R_TLSV1_ALERT_USER_CANCLED                  1090
+#define SSL_R_TLS_CLIENT_CERT_REQ_WITH_ANON_CIPHER      232
+#define SSL_R_TLS_PEER_DID_NOT_RESPOND_WITH_CERTIFICATE_LIST 233
+#define SSL_R_TLS_RSA_ENCRYPTED_VALUE_LENGTH_IS_WRONG   234
+#define SSL_R_TRIED_TO_USE_UNSUPPORTED_CIPHER           235
+#define SSL_R_UNABLE_TO_DECODE_DH_CERTS                         236
+#define SSL_R_UNABLE_TO_EXTRACT_PUBLIC_KEY              237
+#define SSL_R_UNABLE_TO_FIND_DH_PARAMETERS              238
+#define SSL_R_UNABLE_TO_FIND_PUBLIC_KEY_PARAMETERS      239
+#define SSL_R_UNABLE_TO_FIND_SSL_METHOD                         240
+#define SSL_R_UNABLE_TO_LOAD_SSL2_MD5_ROUTINES          241
+#define SSL_R_UNABLE_TO_LOAD_SSL3_MD5_ROUTINES          242
+#define SSL_R_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES                 243
+#define SSL_R_UNEXPECTED_MESSAGE                        244
+#define SSL_R_UNEXPECTED_RECORD                                 245
+#define SSL_R_UNKNOWN_ALERT_TYPE                        246
+#define SSL_R_UNKNOWN_CERTIFICATE_TYPE                  247
+#define SSL_R_UNKNOWN_CIPHER_RETURNED                   248
+#define SSL_R_UNKNOWN_CIPHER_TYPE                       249
+#define SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE                         250
+#define SSL_R_UNKNOWN_PKEY_TYPE                                 251
+#define SSL_R_UNKNOWN_PROTOCOL                          252
+#define SSL_R_UNKNOWN_REMOTE_ERROR_TYPE                         253
+#define SSL_R_UNKNOWN_SSL_VERSION                       254
+#define SSL_R_UNKNOWN_STATE                             255
+#define SSL_R_UNSUPPORTED_CIPHER                        256
+#define SSL_R_UNSUPPORTED_COMPRESSION_ALGORITHM                 257
+#define SSL_R_UNSUPPORTED_PROTOCOL                      258
+#define SSL_R_UNSUPPORTED_SSL_VERSION                   259
+#define SSL_R_WRITE_BIO_NOT_SET                                 260
+#define SSL_R_WRONG_CIPHER_RETURNED                     261
+#define SSL_R_WRONG_MESSAGE_TYPE                        262
+#define SSL_R_WRONG_NUMBER_OF_KEY_BITS                  263
+#define SSL_R_WRONG_SIGNATURE_LENGTH                    264
+#define SSL_R_WRONG_SIGNATURE_SIZE                      265
+#define SSL_R_WRONG_SSL_VERSION                                 266
+#define SSL_R_WRONG_VERSION_NUMBER                      267
+#define SSL_R_X509_LIB                                  268
+#define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS          269