From e440f51395f10e307f720213bd75393e446024a3 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 8 Mar 2018 17:44:12 +0000 Subject: Give more information in the SSL_stateless return code Allow users to distinguish between an error occurring and an HRR being issued. Fixes #5549 Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5562) --- ssl/ssl_err.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ssl/ssl_err.c') diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index f0bde60994..34e8ec4076 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -952,6 +952,8 @@ static const ERR_STRING_DATA SSL_str_reasons[] = { "no client cert method"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_COMPRESSION_SPECIFIED), "no compression specified"}, + {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_COOKIE_CALLBACK_SET), + "no cookie callback set"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER), "Peer haven't sent GOST certificate, required for selected ciphersuite"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_METHOD_SPECIFIED), -- cgit v1.2.3