From 8d6dc05079ae2eaff92293238f56efaaea118fb1 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 22 Jun 2026 14:07:17 +0000 Subject: SSL_alert_desc_string: update manpage after change to return "!!" always Also change some totally unreadable roff macros to slightly less unreadable mdoc markup. --- src/lib/libssl/man/SSL_alert_type_string.3 | 75 ++++++++++++++---------------- 1 file changed, 36 insertions(+), 39 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libssl/man/SSL_alert_type_string.3 b/src/lib/libssl/man/SSL_alert_type_string.3 index 0f051cc0a6..9d3c03555c 100644 --- a/src/lib/libssl/man/SSL_alert_type_string.3 +++ b/src/lib/libssl/man/SSL_alert_type_string.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_alert_type_string.3,v 1.8 2025/06/08 22:52:00 schwarze Exp $ +.\" $OpenBSD: SSL_alert_type_string.3,v 1.9 2026/06/22 14:07:17 tb Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Lutz Jaenicke . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 8 2025 $ +.Dd $Mdocdate: June 22 2026 $ .Dt SSL_ALERT_TYPE_STRING 3 .Os .Sh NAME @@ -78,9 +78,8 @@ returns a string indicating the type of the alert specified by .Fa value . .Pp .Fn SSL_alert_desc_string -returns a two letter string as a short form describing the reason of the alert -specified by -.Fa value . +always returns the two letter string +.Qq !! . .Pp .Fn SSL_alert_desc_string_long returns a string describing the reason of the alert specified by @@ -114,9 +113,9 @@ The following strings can occur for or .Fn SSL_alert_type_string_long : .Bl -tag -width Ds -.It \(dqW\(dq/\(dqwarning\(dq -.It \(dqF\(dq/\(dqfatal\(dq -.It \(dqU\(dq/\(dqunknown\(dq +.It Qo W Qc Ns / Ns Qq warning +.It Qo F Qc Ns / Ns Qq fatal +.It Qo U Qc Ns / Ns Qq unknown This indicates that no support is available for this alert type. Probably .Fa value @@ -124,102 +123,100 @@ does not contain a correct alert message. .El .Pp The following strings can occur for -.Fn SSL_alert_desc_string -or .Fn SSL_alert_desc_string_long : .Bl -tag -width Ds -.It \(dqCN\(dq/\(dqclose notify\(dq +.It Qq close notify The connection shall be closed. This is a warning alert. -.It \(dqUM\(dq/\(dqunexpected message\(dq +.It Qq unexpected message An inappropriate message was received. This alert is always fatal and should never be observed in communication between proper implementations. -.It \(dqBM\(dq/\(dqbad record mac\(dq +.It Qq bad record mac This alert is returned if a record is received with an incorrect MAC. This message is always fatal. -.It \(dqDF\(dq/\(dqdecompression failure\(dq +.It Qq decompression failure The decompression function received improper input (e.g., data that would expand to excessive length). This message is always fatal. -.It \(dqHF\(dq/\(dqhandshake failure\(dq +.It Qq handshake failure Reception of a handshake_failure alert message indicates that the sender was unable to negotiate an acceptable set of security parameters given the options available. This is a fatal error. -.It \(dqNC\(dq/\(dqno certificate\(dq +.It Qq no certificate A client, that was asked to send a certificate, does not send a certificate (SSLv3 only). -.It \(dqBC\(dq/\(dqbad certificate\(dq +.It Qq bad certificate A certificate was corrupt, contained signatures that did not verify correctly, etc. -.It \(dqUC\(dq/\(dqunsupported certificate\(dq +.It Qq unsupported certificate A certificate was of an unsupported type. -.It \(dqCR\(dq/\(dqcertificate revoked\(dq +.It Qq certificate revoked A certificate was revoked by its signer. -.It \(dqCE\(dq/\(dqcertificate expired\(dq +.It Qq certificate expired A certificate has expired or is not currently valid. -.It \(dqCU\(dq/\(dqcertificate unknown\(dq +.It Qq certificate unknown Some other (unspecified) issue arose in processing the certificate, rendering it unacceptable. -.It \(dqIP\(dq/\(dqillegal parameter\(dq +.It Qq illegal parameter A field in the handshake was out of range or inconsistent with other fields. This is always fatal. -.It \(dqDC\(dq/\(dqdecryption failed\(dq +.It Qq decryption failed A TLSCiphertext decrypted in an invalid way: either it wasn't an even multiple of the block length or its padding values, when checked, weren't correct. This message is always fatal. -.It \(dqRO\(dq/\(dqrecord overflow\(dq +.It Qq record overflow A TLSCiphertext record was received which had a length more than 2^14+2048 bytes, or a record decrypted to a TLSCompressed record with more than 2^14+1024 bytes. This message is always fatal. -.It \(dqCA\(dq/\(dqunknown CA\(dq +.It Qq unknown CA A valid certificate chain or partial chain was received, but the certificate was not accepted because the CA certificate could not be located or couldn't be matched with a known, trusted CA. This message is always fatal. -.It \(dqAD\(dq/\(dqaccess denied\(dq +.It Qq access denied A valid certificate was received, but when access control was applied, the sender decided not to proceed with negotiation. This message is always fatal. -.It \(dqDE\(dq/\(dqdecode error\(dq +.It Qq decode error A message could not be decoded because some field was out of the specified range or the length of the message was incorrect. This message is always fatal. -.It \(dqCY\(dq/\(dqdecrypt error\(dq +.It Qq decrypt error A handshake cryptographic operation failed, including being unable to correctly verify a signature, decrypt a key exchange, or validate a finished message. -.It \(dqER\(dq/\(dqexport restriction\(dq +.It Qq export restriction A negotiation not in compliance with export restrictions was detected; for example, attempting to transfer a 1024 bit ephemeral RSA key for the RSA_EXPORT handshake method. This message is always fatal. -.It \(dqPV\(dq/\(dqprotocol version\(dq +.It Qq protocol version The protocol version the client has attempted to negotiate is recognized, but not supported. (For example, old protocol versions might be avoided for security reasons.) This message is always fatal. -.It \(dqIS\(dq/\(dqinsufficient security\(dq +.It Qq insufficient security Returned instead of handshake_failure when a negotiation has failed specifically because the server requires ciphers more secure than those supported by the client. This message is always fatal. -.It \(dqIE\(dq/\(dqinternal error\(dq +.It Qq internal error An internal error unrelated to the peer or the correctness of the protocol makes it impossible to continue (such as a memory allocation failure). This message is always fatal. -.It \(dqIF\(dq/\(dqinappropriate fallback\(dq +.It Qq inappropriate fallback Sent by a server in response to an invalid connection retry attempt from a client (see RFC 7507). -.It \(dqUS\(dq/\(dquser canceled\(dq +.It Qq user canceled This handshake is being canceled for some reason unrelated to a protocol failure. If the user cancels an operation after the handshake is complete, just closing the connection by sending a close_notify is more appropriate. This alert should be followed by a close_notify. This message is generally a warning. -.It \(dqNR\(dq/\(dqno renegotiation\(dq +.It Qq no renegotiation Sent by the client in response to a hello request or by the server in response to a client hello after initial handshaking. Either of these would normally lead to renegotiation; when that is not @@ -230,16 +227,16 @@ process to satisfy a request; the process might receive security parameters (key length, authentication, etc.) at startup and it might be difficult to communicate changes to these parameters after that point. This message is always a warning. -.It \(dqUP\(dq/\(dqunknown PSK identity\(dq +.It Qq unknown PSK identity Sent by the server to indicate that it does not recognize a PSK identity or an SRP identity. -.It \(dqCQ\(dq/\(dqcertificate required\(dq +.It Qq certificate required Sent by servers when a client certificate is desired but none was provided by the client. -.It \(dqAP\(dq/\(dqno application protocol\(dq +.It Qq no application protocol Sent by servers when a client ALPN extension advertises only protocols that the server does not support (see RFC 7301). -.It \(dqUK\(dq/\(dqunknown\(dq +.It Qq unknown This indicates that no description is available for this alert type. Probably .Fa value -- cgit v1.2.3-55-g6feb