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:13:20 -0500 |
commit | 73a5150689571fb8374320a298c4082778d238f3 (patch) | |
tree | 0b4a73b8252e560d0eca0e340c9552aeb06e31c4 /ssl/statem/statem_srvr.c | |
parent | df8dca7ac8d71b2fe5ec3a378c547dbfeb081d7e (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)
(cherry picked from commit 7bb37cb5938a0cf76c12c8421950e72634d5f61c)
Diffstat (limited to 'ssl/statem/statem_srvr.c')
-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 19ceda5919..9327654ce5 100644 --- a/ssl/statem/statem_srvr.c +++ b/ssl/statem/statem_srvr.c @@ -1483,6 +1483,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; } } |