From 6590637c468855cd058566c3442c592d83f0e8c2 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 20 Jul 2022 14:15:50 +0000 Subject: [PATCH] Drop some unnecessary parentheses. ok jsing --- lib/libssl/ssl_tlsext.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/libssl/ssl_tlsext.c b/lib/libssl/ssl_tlsext.c index 4ce6939c791..c301b804d25 100644 --- a/lib/libssl/ssl_tlsext.c +++ b/lib/libssl/ssl_tlsext.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_tlsext.c,v 1.123 2022/07/20 14:14:34 tb Exp $ */ +/* $OpenBSD: ssl_tlsext.c,v 1.124 2022/07/20 14:15:50 tb Exp $ */ /* * Copyright (c) 2016, 2017, 2019 Joel Sing * Copyright (c) 2017 Doug Hogan @@ -190,8 +190,7 @@ tlsext_alpn_client_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert) if (CBS_len(&proto) == 0) goto err; - if (!CBS_stow(&proto, &(s->s3->alpn_selected), - &(s->s3->alpn_selected_len))) + if (!CBS_stow(&proto, &s->s3->alpn_selected, &s->s3->alpn_selected_len)) goto err; return 1; -- 2.20.1