summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-08-15 18:05:15 +0000
committertb <>2023-08-15 18:05:15 +0000
commit84dfc864c5efeb353464243ed5316968c95b3245 (patch)
treed936b60c7cee4dc23f544fb33bc602b0f8277c27
parent0eb2fc2f377758c42418df406a6e55518d30919b (diff)
downloadopenbsd-84dfc864c5efeb353464243ed5316968c95b3245.tar.gz
openbsd-84dfc864c5efeb353464243ed5316968c95b3245.tar.bz2
openbsd-84dfc864c5efeb353464243ed5316968c95b3245.zip
Zap extra parens
-rw-r--r--src/lib/libcrypto/asn1/a_string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/a_string.c b/src/lib/libcrypto/asn1/a_string.c
index 7deaf38e33..ec492e71f0 100644
--- a/src/lib/libcrypto/asn1/a_string.c
+++ b/src/lib/libcrypto/asn1/a_string.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_string.c,v 1.16 2023/08/15 17:40:06 tb Exp $ */ 1/* $OpenBSD: a_string.c,v 1.17 2023/08/15 18:05:15 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -186,7 +186,7 @@ ASN1_STRING_set(ASN1_STRING *astr, const void *_data, int len)
186 186
187 if ((astr->data = calloc(1, len + 1)) == NULL) { 187 if ((astr->data = calloc(1, len + 1)) == NULL) {
188 ASN1error(ERR_R_MALLOC_FAILURE); 188 ASN1error(ERR_R_MALLOC_FAILURE);
189 return (0); 189 return 0;
190 } 190 }
191 astr->length = len; 191 astr->length = len;
192 192