Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
eab773a8aa
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. +1
    -0
      ssl/t1_lib.c

+ 1
- 0
ssl/t1_lib.c Dosyayı Görüntüle

@@ -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;


Yükleniyor…
İptal
Kaydet