projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e364c3b
)
When no SRP identity is found, no error was reported server side
author
EasySec
<Easy.Sec@free.fr>
Sat, 5 Nov 2016 21:56:13 +0000
(22:56 +0100)
committer
Rich Salz
<rsalz@openssl.org>
Wed, 9 Nov 2016 15:12:59 +0000
(10:12 -0500)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1859)
ssl/statem/statem_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/statem/statem_srvr.c
b/ssl/statem/statem_srvr.c
index 6bd16b879b8c11cdb44340ba540c796e3e2b0302..89de0257acfc10c2e6defe3179073229638bcc44 100644
(file)
--- 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;
}
}