diff options
author | EasySec <Easy.Sec@free.fr> | 2016-11-05 22:56:13 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-11-09 10:12:59 -0500 |
commit | 7bb37cb5938a0cf76c12c8421950e72634d5f61c (patch) | |
tree | df6ed1feb949f6493da043bbf156135c8236fef1 /ssl/statem | |
parent | e364c3b24e38bd60d40487e0a532261348a9bb10 (diff) |
When no SRP identity is found, no error was reported server side
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1859)
Diffstat (limited to 'ssl/statem')
-rw-r--r-- | ssl/statem/statem_srvr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c index 6bd16b879b..89de0257ac 100644 --- a/ssl/statem/statem_srvr.c +++ b/ssl/statem/statem_srvr.c @@ -1526,6 +1526,9 @@ WORK_STATE tls_post_process_client_hello(SSL *s, WORK_STATE wst) if (al != TLS1_AD_UNKNOWN_PSK_IDENTITY) SSLerr(SSL_F_TLS_POST_PROCESS_CLIENT_HELLO, SSL_R_CLIENTHELLO_TLSEXT); + else + SSLerr(SSL_F_TLS_POST_PROCESS_CLIENT_HELLO, + SSL_R_PSK_IDENTITY_NOT_FOUND); goto f_err; } } |