浏览代码

Add missing PSK identity comment.

Change-Id: I1ca9f252afeea6cdcaa6d75e842eab019c82a7e4
Reviewed-on: https://boringssl-review.googlesource.com/12184
Reviewed-by: David Benjamin <davidben@google.com>
kris/onging/CECPQ3_patch15
David Benjamin 8 年前
父节点
当前提交
eab773a8aa
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      ssl/t1_lib.c

+ 1
- 0
ssl/t1_lib.c 查看文件

@@ -1960,6 +1960,7 @@ int ssl_ext_pre_shared_key_parse_serverhello(SSL *ssl, uint8_t *out_alert,
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;


正在加载...
取消
保存