Fix typo in DTLS-SRTP extension parsing.

Change-Id: I1fd4c22b20a6272cd65448f5f62b9790d7597aa7
Reviewed-on: https://boringssl-review.googlesource.com/1260
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
Adam Langley
2014-07-18 00:52:51 +00:00
committed by Adam Langley
parent 515ee12d62
commit 6defe177fe
+1 -1
View File
@@ -329,7 +329,7 @@ int ssl_parse_clienthello_use_srtp_ext(SSL *s, CBS *cbs, int *out_alert)
{
uint16_t profile_id;
if (!CBS_get_u16(cbs, &profile_id))
if (!CBS_get_u16(&profile_ids, &profile_id))
{
*out_alert = SSL_AD_DECODE_ERROR;
goto done;