commit | 78f8aabe44da43d03ecf82d8d81f4251cd4bfe4a | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Thu Mar 10 16:33:58 2016 -0500 |
committer | David Benjamin <davidben@google.com> | Tue Mar 22 15:24:10 2016 +0000 |
tree | e733557043b25fb81f32801e4003b7eb087e7fb8 | |
parent | c087c332f89b86b7fc6768e461c97a5ef24b1670 [diff] [blame] |
ssl->ctx cannot be NULL. Most code already dereferences it directly. Change-Id: I227fa91ecbf25a19077f7cfba21b0abd2bc2bd1d Reviewed-on: https://boringssl-review.googlesource.com/7422 Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/ssl/d1_srtp.c b/ssl/d1_srtp.c index 0f2b763..ce15ee2 100644 --- a/ssl/d1_srtp.c +++ b/ssl/d1_srtp.c
@@ -211,7 +211,7 @@ return ssl->srtp_profiles; } - if (ssl->ctx != NULL && ssl->ctx->srtp_profiles != NULL) { + if (ssl->ctx->srtp_profiles != NULL) { return ssl->ctx->srtp_profiles; }