From 6defe177feb2002697a172a436c52fb70c2ca2a5 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Thu, 17 Jul 2014 17:51:38 -0700 Subject: [PATCH] Fix typo in DTLS-SRTP extension parsing. Change-Id: I1fd4c22b20a6272cd65448f5f62b9790d7597aa7 Reviewed-on: https://boringssl-review.googlesource.com/1260 Reviewed-by: Adam Langley --- ssl/d1_srtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/d1_srtp.c b/ssl/d1_srtp.c index d21abadc9..2652f8472 100644 --- a/ssl/d1_srtp.c +++ b/ssl/d1_srtp.c @@ -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;