sslerrstrs.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. /** BEGIN COPYRIGHT BLOCK
  2. * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  3. * Copyright (C) 2005 Red Hat, Inc.
  4. * All rights reserved.
  5. *
  6. * License: GPL (version 3 or any later version).
  7. * See LICENSE for details.
  8. * END COPYRIGHT BLOCK **/
  9. #ifdef HAVE_CONFIG_H
  10. # include <config.h>
  11. #endif
  12. /*
  13. * sslerrstrs.h - map SSL errors to strings (used by errormap.c)
  14. *
  15. */
  16. /*
  17. ****************************************************************************
  18. * The code below this point was taken from the file
  19. * mozilla/security/nss/security/nss/cmd/lib/SSLerrs.h on NSS_3_11_3_RTM.
  20. ****************************************************************************
  21. */
  22. /* SSL-specific security error codes */
  23. /* caller must include "sslerr.h" */
  24. ER3(SSL_ERROR_EXPORT_ONLY_SERVER, SSL_ERROR_BASE + 0,
  25. "Unable to communicate securely. Peer does not support high-grade encryption.")
  26. ER3(SSL_ERROR_US_ONLY_SERVER, SSL_ERROR_BASE + 1,
  27. "Unable to communicate securely. Peer requires high-grade encryption which is not supported.")
  28. ER3(SSL_ERROR_NO_CYPHER_OVERLAP, SSL_ERROR_BASE + 2,
  29. "Cannot communicate securely with peer: no common encryption algorithm(s).")
  30. ER3(SSL_ERROR_NO_CERTIFICATE, SSL_ERROR_BASE + 3,
  31. "Unable to find the certificate or key necessary for authentication.")
  32. ER3(SSL_ERROR_BAD_CERTIFICATE, SSL_ERROR_BASE + 4,
  33. "Unable to communicate securely with peer: peers's certificate was rejected.")
  34. /* unused (SSL_ERROR_BASE + 5),*/
  35. ER3(SSL_ERROR_BAD_CLIENT, SSL_ERROR_BASE + 6,
  36. "The server has encountered bad data from the client.")
  37. ER3(SSL_ERROR_BAD_SERVER, SSL_ERROR_BASE + 7,
  38. "The client has encountered bad data from the server.")
  39. ER3(SSL_ERROR_UNSUPPORTED_CERTIFICATE_TYPE, SSL_ERROR_BASE + 8,
  40. "Unsupported certificate type.")
  41. ER3(SSL_ERROR_UNSUPPORTED_VERSION, SSL_ERROR_BASE + 9,
  42. "Peer using unsupported version of security protocol.")
  43. /* unused (SSL_ERROR_BASE + 10),*/
  44. ER3(SSL_ERROR_WRONG_CERTIFICATE, SSL_ERROR_BASE + 11,
  45. "Client authentication failed: private key in key database does not match public key in certificate database.")
  46. ER3(SSL_ERROR_BAD_CERT_DOMAIN, SSL_ERROR_BASE + 12,
  47. "Unable to communicate securely with peer: requested domain name does not match the server's certificate.")
  48. /* SSL_ERROR_POST_WARNING (SSL_ERROR_BASE + 13),
  49. defined in sslerr.h
  50. */
  51. ER3(SSL_ERROR_SSL2_DISABLED, (SSL_ERROR_BASE + 14),
  52. "Peer only supports SSL version 2, which is locally disabled.")
  53. ER3(SSL_ERROR_BAD_MAC_READ, (SSL_ERROR_BASE + 15),
  54. "SSL received a record with an incorrect Message Authentication Code.")
  55. ER3(SSL_ERROR_BAD_MAC_ALERT, (SSL_ERROR_BASE + 16),
  56. "SSL peer reports incorrect Message Authentication Code.")
  57. ER3(SSL_ERROR_BAD_CERT_ALERT, (SSL_ERROR_BASE + 17),
  58. "SSL peer cannot verify your certificate.")
  59. ER3(SSL_ERROR_REVOKED_CERT_ALERT, (SSL_ERROR_BASE + 18),
  60. "SSL peer rejected your certificate as revoked.")
  61. ER3(SSL_ERROR_EXPIRED_CERT_ALERT, (SSL_ERROR_BASE + 19),
  62. "SSL peer rejected your certificate as expired.")
  63. ER3(SSL_ERROR_SSL_DISABLED, (SSL_ERROR_BASE + 20),
  64. "Cannot connect: SSL is disabled.")
  65. ER3(SSL_ERROR_FORTEZZA_PQG, (SSL_ERROR_BASE + 21),
  66. "Cannot connect: SSL peer is in another FORTEZZA domain.")
  67. ER3(SSL_ERROR_UNKNOWN_CIPHER_SUITE , (SSL_ERROR_BASE + 22),
  68. "An unknown SSL cipher suite has been requested.")
  69. ER3(SSL_ERROR_NO_CIPHERS_SUPPORTED , (SSL_ERROR_BASE + 23),
  70. "No cipher suites are present and enabled in this program.")
  71. ER3(SSL_ERROR_BAD_BLOCK_PADDING , (SSL_ERROR_BASE + 24),
  72. "SSL received a record with bad block padding.")
  73. ER3(SSL_ERROR_RX_RECORD_TOO_LONG , (SSL_ERROR_BASE + 25),
  74. "SSL received a record that exceeded the maximum permissible length.")
  75. ER3(SSL_ERROR_TX_RECORD_TOO_LONG , (SSL_ERROR_BASE + 26),
  76. "SSL attempted to send a record that exceeded the maximum permissible length.")
  77. /*
  78. * Received a malformed (too long or short or invalid content) SSL handshake.
  79. */
  80. ER3(SSL_ERROR_RX_MALFORMED_HELLO_REQUEST , (SSL_ERROR_BASE + 27),
  81. "SSL received a malformed Hello Request handshake message.")
  82. ER3(SSL_ERROR_RX_MALFORMED_CLIENT_HELLO , (SSL_ERROR_BASE + 28),
  83. "SSL received a malformed Client Hello handshake message.")
  84. ER3(SSL_ERROR_RX_MALFORMED_SERVER_HELLO , (SSL_ERROR_BASE + 29),
  85. "SSL received a malformed Server Hello handshake message.")
  86. ER3(SSL_ERROR_RX_MALFORMED_CERTIFICATE , (SSL_ERROR_BASE + 30),
  87. "SSL received a malformed Certificate handshake message.")
  88. ER3(SSL_ERROR_RX_MALFORMED_SERVER_KEY_EXCH , (SSL_ERROR_BASE + 31),
  89. "SSL received a malformed Server Key Exchange handshake message.")
  90. ER3(SSL_ERROR_RX_MALFORMED_CERT_REQUEST , (SSL_ERROR_BASE + 32),
  91. "SSL received a malformed Certificate Request handshake message.")
  92. ER3(SSL_ERROR_RX_MALFORMED_HELLO_DONE , (SSL_ERROR_BASE + 33),
  93. "SSL received a malformed Server Hello Done handshake message.")
  94. ER3(SSL_ERROR_RX_MALFORMED_CERT_VERIFY , (SSL_ERROR_BASE + 34),
  95. "SSL received a malformed Certificate Verify handshake message.")
  96. ER3(SSL_ERROR_RX_MALFORMED_CLIENT_KEY_EXCH , (SSL_ERROR_BASE + 35),
  97. "SSL received a malformed Client Key Exchange handshake message.")
  98. ER3(SSL_ERROR_RX_MALFORMED_FINISHED , (SSL_ERROR_BASE + 36),
  99. "SSL received a malformed Finished handshake message.")
  100. /*
  101. * Received a malformed (too long or short) SSL record.
  102. */
  103. ER3(SSL_ERROR_RX_MALFORMED_CHANGE_CIPHER , (SSL_ERROR_BASE + 37),
  104. "SSL received a malformed Change Cipher Spec record.")
  105. ER3(SSL_ERROR_RX_MALFORMED_ALERT , (SSL_ERROR_BASE + 38),
  106. "SSL received a malformed Alert record.")
  107. ER3(SSL_ERROR_RX_MALFORMED_HANDSHAKE , (SSL_ERROR_BASE + 39),
  108. "SSL received a malformed Handshake record.")
  109. ER3(SSL_ERROR_RX_MALFORMED_APPLICATION_DATA , (SSL_ERROR_BASE + 40),
  110. "SSL received a malformed Application Data record.")
  111. /*
  112. * Received an SSL handshake that was inappropriate for the state we're in.
  113. * E.g. Server received message from server, or wrong state in state machine.
  114. */
  115. ER3(SSL_ERROR_RX_UNEXPECTED_HELLO_REQUEST , (SSL_ERROR_BASE + 41),
  116. "SSL received an unexpected Hello Request handshake message.")
  117. ER3(SSL_ERROR_RX_UNEXPECTED_CLIENT_HELLO , (SSL_ERROR_BASE + 42),
  118. "SSL received an unexpected Client Hello handshake message.")
  119. ER3(SSL_ERROR_RX_UNEXPECTED_SERVER_HELLO , (SSL_ERROR_BASE + 43),
  120. "SSL received an unexpected Server Hello handshake message.")
  121. ER3(SSL_ERROR_RX_UNEXPECTED_CERTIFICATE , (SSL_ERROR_BASE + 44),
  122. "SSL received an unexpected Certificate handshake message.")
  123. ER3(SSL_ERROR_RX_UNEXPECTED_SERVER_KEY_EXCH , (SSL_ERROR_BASE + 45),
  124. "SSL received an unexpected Server Key Exchange handshake message.")
  125. ER3(SSL_ERROR_RX_UNEXPECTED_CERT_REQUEST , (SSL_ERROR_BASE + 46),
  126. "SSL received an unexpected Certificate Request handshake message.")
  127. ER3(SSL_ERROR_RX_UNEXPECTED_HELLO_DONE , (SSL_ERROR_BASE + 47),
  128. "SSL received an unexpected Server Hello Done handshake message.")
  129. ER3(SSL_ERROR_RX_UNEXPECTED_CERT_VERIFY , (SSL_ERROR_BASE + 48),
  130. "SSL received an unexpected Certificate Verify handshake message.")
  131. ER3(SSL_ERROR_RX_UNEXPECTED_CLIENT_KEY_EXCH , (SSL_ERROR_BASE + 49),
  132. "SSL received an unexpected Cllient Key Exchange handshake message.")
  133. ER3(SSL_ERROR_RX_UNEXPECTED_FINISHED , (SSL_ERROR_BASE + 50),
  134. "SSL received an unexpected Finished handshake message.")
  135. /*
  136. * Received an SSL record that was inappropriate for the state we're in.
  137. */
  138. ER3(SSL_ERROR_RX_UNEXPECTED_CHANGE_CIPHER , (SSL_ERROR_BASE + 51),
  139. "SSL received an unexpected Change Cipher Spec record.")
  140. ER3(SSL_ERROR_RX_UNEXPECTED_ALERT , (SSL_ERROR_BASE + 52),
  141. "SSL received an unexpected Alert record.")
  142. ER3(SSL_ERROR_RX_UNEXPECTED_HANDSHAKE , (SSL_ERROR_BASE + 53),
  143. "SSL received an unexpected Handshake record.")
  144. ER3(SSL_ERROR_RX_UNEXPECTED_APPLICATION_DATA, (SSL_ERROR_BASE + 54),
  145. "SSL received an unexpected Application Data record.")
  146. /*
  147. * Received record/message with unknown discriminant.
  148. */
  149. ER3(SSL_ERROR_RX_UNKNOWN_RECORD_TYPE , (SSL_ERROR_BASE + 55),
  150. "SSL received a record with an unknown content type.")
  151. ER3(SSL_ERROR_RX_UNKNOWN_HANDSHAKE , (SSL_ERROR_BASE + 56),
  152. "SSL received a handshake message with an unknown message type.")
  153. ER3(SSL_ERROR_RX_UNKNOWN_ALERT , (SSL_ERROR_BASE + 57),
  154. "SSL received an alert record with an unknown alert description.")
  155. /*
  156. * Received an alert reporting what we did wrong. (more alerts above)
  157. */
  158. ER3(SSL_ERROR_CLOSE_NOTIFY_ALERT , (SSL_ERROR_BASE + 58),
  159. "SSL peer has closed this connection.")
  160. ER3(SSL_ERROR_HANDSHAKE_UNEXPECTED_ALERT , (SSL_ERROR_BASE + 59),
  161. "SSL peer was not expecting a handshake message it received.")
  162. ER3(SSL_ERROR_DECOMPRESSION_FAILURE_ALERT , (SSL_ERROR_BASE + 60),
  163. "SSL peer was unable to successfully decompress an SSL record it received.")
  164. ER3(SSL_ERROR_HANDSHAKE_FAILURE_ALERT , (SSL_ERROR_BASE + 61),
  165. "SSL peer was unable to negotiate an acceptable set of security parameters.")
  166. ER3(SSL_ERROR_ILLEGAL_PARAMETER_ALERT , (SSL_ERROR_BASE + 62),
  167. "SSL peer rejected a handshake message for unacceptable content.")
  168. ER3(SSL_ERROR_UNSUPPORTED_CERT_ALERT , (SSL_ERROR_BASE + 63),
  169. "SSL peer does not support certificates of the type it received.")
  170. ER3(SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT , (SSL_ERROR_BASE + 64),
  171. "SSL peer had some unspecified issue with the certificate it received.")
  172. ER3(SSL_ERROR_GENERATE_RANDOM_FAILURE , (SSL_ERROR_BASE + 65),
  173. "SSL experienced a failure of its random number generator.")
  174. ER3(SSL_ERROR_SIGN_HASHES_FAILURE , (SSL_ERROR_BASE + 66),
  175. "Unable to digitally sign data required to verify your certificate.")
  176. ER3(SSL_ERROR_EXTRACT_PUBLIC_KEY_FAILURE , (SSL_ERROR_BASE + 67),
  177. "SSL was unable to extract the public key from the peer's certificate.")
  178. ER3(SSL_ERROR_SERVER_KEY_EXCHANGE_FAILURE , (SSL_ERROR_BASE + 68),
  179. "Unspecified failure while processing SSL Server Key Exchange handshake.")
  180. ER3(SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE , (SSL_ERROR_BASE + 69),
  181. "Unspecified failure while processing SSL Client Key Exchange handshake.")
  182. ER3(SSL_ERROR_ENCRYPTION_FAILURE , (SSL_ERROR_BASE + 70),
  183. "Bulk data encryption algorithm failed in selected cipher suite.")
  184. ER3(SSL_ERROR_DECRYPTION_FAILURE , (SSL_ERROR_BASE + 71),
  185. "Bulk data decryption algorithm failed in selected cipher suite.")
  186. ER3(SSL_ERROR_SOCKET_WRITE_FAILURE , (SSL_ERROR_BASE + 72),
  187. "Attempt to write encrypted data to underlying socket failed.")
  188. ER3(SSL_ERROR_MD5_DIGEST_FAILURE , (SSL_ERROR_BASE + 73),
  189. "MD5 digest function failed.")
  190. ER3(SSL_ERROR_SHA_DIGEST_FAILURE , (SSL_ERROR_BASE + 74),
  191. "SHA-1 digest function failed.")
  192. ER3(SSL_ERROR_MAC_COMPUTATION_FAILURE , (SSL_ERROR_BASE + 75),
  193. "MAC computation failed.")
  194. ER3(SSL_ERROR_SYM_KEY_CONTEXT_FAILURE , (SSL_ERROR_BASE + 76),
  195. "Failure to create Symmetric Key context.")
  196. ER3(SSL_ERROR_SYM_KEY_UNWRAP_FAILURE , (SSL_ERROR_BASE + 77),
  197. "Failure to unwrap the Symmetric key in Client Key Exchange message.")
  198. ER3(SSL_ERROR_PUB_KEY_SIZE_LIMIT_EXCEEDED , (SSL_ERROR_BASE + 78),
  199. "SSL Server attempted to use domestic-grade public key with export cipher suite.")
  200. ER3(SSL_ERROR_IV_PARAM_FAILURE , (SSL_ERROR_BASE + 79),
  201. "PKCS11 code failed to translate an IV into a param.")
  202. ER3(SSL_ERROR_INIT_CIPHER_SUITE_FAILURE , (SSL_ERROR_BASE + 80),
  203. "Failed to initialize the selected cipher suite.")
  204. ER3(SSL_ERROR_SESSION_KEY_GEN_FAILURE , (SSL_ERROR_BASE + 81),
  205. "Client failed to generate session keys for SSL session.")
  206. ER3(SSL_ERROR_NO_SERVER_KEY_FOR_ALG , (SSL_ERROR_BASE + 82),
  207. "Server has no key for the attempted key exchange algorithm.")
  208. ER3(SSL_ERROR_TOKEN_INSERTION_REMOVAL , (SSL_ERROR_BASE + 83),
  209. "PKCS#11 token was inserted or removed while operation was in progress.")
  210. ER3(SSL_ERROR_TOKEN_SLOT_NOT_FOUND , (SSL_ERROR_BASE + 84),
  211. "No PKCS#11 token could be found to do a required operation.")
  212. ER3(SSL_ERROR_NO_COMPRESSION_OVERLAP , (SSL_ERROR_BASE + 85),
  213. "Cannot communicate securely with peer: no common compression algorithm(s).")
  214. ER3(SSL_ERROR_HANDSHAKE_NOT_COMPLETED , (SSL_ERROR_BASE + 86),
  215. "Cannot initiate another SSL handshake until current handshake is complete.")
  216. ER3(SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE , (SSL_ERROR_BASE + 87),
  217. "Received incorrect handshakes hash values from peer.")
  218. ER3(SSL_ERROR_CERT_KEA_MISMATCH , (SSL_ERROR_BASE + 88),
  219. "The certificate provided cannot be used with the selected key exchange algorithm.")
  220. ER3(SSL_ERROR_NO_TRUSTED_SSL_CLIENT_CA , (SSL_ERROR_BASE + 89),
  221. "No certificate authority is trusted for SSL client authentication.")
  222. ER3(SSL_ERROR_SESSION_NOT_FOUND , (SSL_ERROR_BASE + 90),
  223. "Client's SSL session ID not found in server's session cache.")
  224. ER3(SSL_ERROR_DECRYPTION_FAILED_ALERT , (SSL_ERROR_BASE + 91),
  225. "Peer was unable to decrypt an SSL record it received.")
  226. ER3(SSL_ERROR_RECORD_OVERFLOW_ALERT , (SSL_ERROR_BASE + 92),
  227. "Peer received an SSL record that was longer than is permitted.")
  228. ER3(SSL_ERROR_UNKNOWN_CA_ALERT , (SSL_ERROR_BASE + 93),
  229. "Peer does not recognize and trust the CA that issued your certificate.")
  230. ER3(SSL_ERROR_ACCESS_DENIED_ALERT , (SSL_ERROR_BASE + 94),
  231. "Peer received a valid certificate, but access was denied.")
  232. ER3(SSL_ERROR_DECODE_ERROR_ALERT , (SSL_ERROR_BASE + 95),
  233. "Peer could not decode an SSL handshake message.")
  234. ER3(SSL_ERROR_DECRYPT_ERROR_ALERT , (SSL_ERROR_BASE + 96),
  235. "Peer reports failure of signature verification or key exchange.")
  236. ER3(SSL_ERROR_EXPORT_RESTRICTION_ALERT , (SSL_ERROR_BASE + 97),
  237. "Peer reports negotiation not in compliance with export regulations.")
  238. ER3(SSL_ERROR_PROTOCOL_VERSION_ALERT , (SSL_ERROR_BASE + 98),
  239. "Peer reports incompatible or unsupported protocol version.")
  240. ER3(SSL_ERROR_INSUFFICIENT_SECURITY_ALERT , (SSL_ERROR_BASE + 99),
  241. "Server requires ciphers more secure than those supported by client.")
  242. ER3(SSL_ERROR_INTERNAL_ERROR_ALERT , (SSL_ERROR_BASE + 100),
  243. "Peer reports it experienced an internal error.")
  244. ER3(SSL_ERROR_USER_CANCELED_ALERT , (SSL_ERROR_BASE + 101),
  245. "Peer user canceled handshake.")
  246. ER3(SSL_ERROR_NO_RENEGOTIATION_ALERT , (SSL_ERROR_BASE + 102),
  247. "Peer does not permit renegotiation of SSL security parameters.")
  248. ER3(SSL_ERROR_SERVER_CACHE_NOT_CONFIGURED , (SSL_ERROR_BASE + 103),
  249. "SSL server cache not configured and not disabled for this socket.")
  250. ER3(SSL_ERROR_UNSUPPORTED_EXTENSION_ALERT , (SSL_ERROR_BASE + 104),
  251. "SSL peer does not support requested TLS hello extension.")
  252. ER3(SSL_ERROR_CERTIFICATE_UNOBTAINABLE_ALERT , (SSL_ERROR_BASE + 105),
  253. "SSL peer could not obtain your certificate from the supplied URL.")
  254. ER3(SSL_ERROR_UNRECOGNIZED_NAME_ALERT , (SSL_ERROR_BASE + 106),
  255. "SSL peer has no certificate for the requested DNS name.")
  256. ER3(SSL_ERROR_BAD_CERT_STATUS_RESPONSE_ALERT , (SSL_ERROR_BASE + 107),
  257. "SSL peer was unable to get an OCSP response for its certificate.")
  258. ER3(SSL_ERROR_BAD_CERT_HASH_VALUE_ALERT , (SSL_ERROR_BASE + 108),
  259. "SSL peer reported bad certificate hash value.")
  260. ER3(SSL_ERROR_RX_UNEXPECTED_NEW_SESSION_TICKET, (SSL_ERROR_BASE + 109),
  261. "SSL received an unexpected New Session Ticket handshake message.")
  262. ER3(SSL_ERROR_RX_MALFORMED_NEW_SESSION_TICKET, (SSL_ERROR_BASE + 110),
  263. "SSL received a malformed New Session Ticket handshake message.")
  264. ER3(SSL_ERROR_DECOMPRESSION_FAILURE, (SSL_ERROR_BASE + 111),
  265. "SSL received a compressed record that could not be decompressed.")
  266. ER3(SSL_ERROR_RENEGOTIATION_NOT_ALLOWED, (SSL_ERROR_BASE + 112),
  267. "Renegotiation is not allowed on this SSL socket.")
  268. ER3(SSL_ERROR_UNSAFE_NEGOTIATION, (SSL_ERROR_BASE + 113),
  269. "Peer attempted old style (potentially vulnerable) handshake.")
  270. ER3(SSL_ERROR_RX_UNEXPECTED_UNCOMPRESSED_RECORD, (SSL_ERROR_BASE + 114),
  271. "SSL received an unexpected uncompressed record.")
  272. ER3(SSL_ERROR_WEAK_SERVER_EPHEMERAL_DH_KEY, (SSL_ERROR_BASE + 115),
  273. "SSL received a weak ephemeral Diffie-Hellman key in Server Key Exchange handshake message.")
  274. ER3(SSL_ERROR_NEXT_PROTOCOL_DATA_INVALID, (SSL_ERROR_BASE + 116),
  275. "SSL received invalid NPN extension data.")
  276. ER3(SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_SSL2, (SSL_ERROR_BASE + 117),
  277. "SSL feature not supported for SSL 2.0 connections.")
  278. ER3(SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_SERVERS, (SSL_ERROR_BASE + 118),
  279. "SSL feature not supported for servers.")
  280. ER3(SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_CLIENTS, (SSL_ERROR_BASE + 119),
  281. "SSL feature not supported for clients.")
  282. ER3(SSL_ERROR_INVALID_VERSION_RANGE, (SSL_ERROR_BASE + 120),
  283. "SSL version range is not valid.")
  284. ER3(SSL_ERROR_CIPHER_DISALLOWED_FOR_VERSION, (SSL_ERROR_BASE + 121),
  285. "SSL peer selected a cipher suite disallowed for the selected protocol version.")
  286. ER3(SSL_ERROR_RX_MALFORMED_HELLO_VERIFY_REQUEST, (SSL_ERROR_BASE + 122),
  287. "SSL received a malformed Hello Verify Request handshake message.")
  288. ER3(SSL_ERROR_RX_UNEXPECTED_HELLO_VERIFY_REQUEST, (SSL_ERROR_BASE + 123),
  289. "SSL received an unexpected Hello Verify Request handshake message.")
  290. ER3(SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_VERSION, (SSL_ERROR_BASE + 124),
  291. "SSL feature not supported for the protocol version.")
  292. ER3(SSL_ERROR_RX_UNEXPECTED_CERT_STATUS, (SSL_ERROR_BASE + 125),
  293. "SSL received an unexpected Certificate Status handshake message.")