commit | eab773a8aa0c421e9c65f6a115306f2cecf9dfa0 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Wed Nov 09 18:32:35 2016 -0500 |
committer | David Benjamin <davidben@google.com> | Sun Nov 13 05:22:38 2016 +0000 |
tree | a7a8e30716bd4571d7ff56ba8428e3ed8507ccec | |
parent | 076ade52189146b6080e25e3a01e8216d644418f [diff] |
Add missing PSK identity comment. Change-Id: I1ca9f252afeea6cdcaa6d75e842eab019c82a7e4 Reviewed-on: https://boringssl-review.googlesource.com/12184 Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 39a6b33..3690548 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c
@@ -1960,6 +1960,7 @@ return 0; } + /* We only advertise one PSK identity, so the only legal index is zero. */ if (psk_id != 0) { OPENSSL_PUT_ERROR(SSL, SSL_R_PSK_IDENTITY_NOT_FOUND); *out_alert = SSL_AD_UNKNOWN_PSK_IDENTITY;