diff options
| author | job <> | 2023-04-26 11:04:12 +0000 |
|---|---|---|
| committer | job <> | 2023-04-26 11:04:12 +0000 |
| commit | a4be17beff0ad2b8974619f6ebdca31bc7a88e48 (patch) | |
| tree | 177565d203269fd250aec67ad5f0b9ec4ad18c60 /src | |
| parent | 0d16af6d0612e50d1d345b52e9e7dfa274a0f8fe (diff) | |
| download | openbsd-a4be17beff0ad2b8974619f6ebdca31bc7a88e48.tar.gz openbsd-a4be17beff0ad2b8974619f6ebdca31bc7a88e48.tar.bz2 openbsd-a4be17beff0ad2b8974619f6ebdca31bc7a88e48.zip | |
Remove unneeded parentheses
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/x509/x509_asn1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/x509/x509_asn1.c b/src/regress/lib/libcrypto/x509/x509_asn1.c index 5dead2ac00..c1d33b121f 100644 --- a/src/regress/lib/libcrypto/x509/x509_asn1.c +++ b/src/regress/lib/libcrypto/x509/x509_asn1.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_asn1.c,v 1.4 2023/04/26 11:00:49 job Exp $ */ | 1 | /* $OpenBSD: x509_asn1.c,v 1.5 2023/04/26 11:04:12 job Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2023 Job Snijders <job@openbsd.org> | 3 | * Copyright (c) 2023 Job Snijders <job@openbsd.org> |
| 4 | * | 4 | * |
| @@ -60,7 +60,7 @@ x509_set_integer(int (*f)(X509 *x, ASN1_INTEGER *ai), X509 **x, int i) | |||
| 60 | err(1, NULL); | 60 | err(1, NULL); |
| 61 | if (!ASN1_INTEGER_set(ai, i)) | 61 | if (!ASN1_INTEGER_set(ai, i)) |
| 62 | errx(1, "ASN1_INTEGER_set"); | 62 | errx(1, "ASN1_INTEGER_set"); |
| 63 | if (!(*f)(*x, ai)) | 63 | if (!f(*x, ai)) |
| 64 | err(1, NULL); | 64 | err(1, NULL); |
| 65 | 65 | ||
| 66 | ASN1_INTEGER_free(ai); | 66 | ASN1_INTEGER_free(ai); |
| @@ -76,7 +76,7 @@ x509_set_name(int (*f)(X509 *x, X509_NAME *name), X509 **x, | |||
| 76 | err(1, NULL); | 76 | err(1, NULL); |
| 77 | if (!X509_NAME_add_entry_by_txt(xn, "C", MBSTRING_ASC, n, -1, -1, 0)) | 77 | if (!X509_NAME_add_entry_by_txt(xn, "C", MBSTRING_ASC, n, -1, -1, 0)) |
| 78 | errx(1, "X509_NAME_add_entry_by_txt"); | 78 | errx(1, "X509_NAME_add_entry_by_txt"); |
| 79 | if (!(*f)(*x, xn)) | 79 | if (!f(*x, xn)) |
| 80 | err(1, NULL); | 80 | err(1, NULL); |
| 81 | 81 | ||
| 82 | X509_NAME_free(xn); | 82 | X509_NAME_free(xn); |
| @@ -91,7 +91,7 @@ x509_set_time(int (*f)(X509 *x, const ASN1_TIME *tm), X509 **x, int t) | |||
| 91 | err(1, NULL); | 91 | err(1, NULL); |
| 92 | if ((at = X509_gmtime_adj(NULL, t)) == NULL) | 92 | if ((at = X509_gmtime_adj(NULL, t)) == NULL) |
| 93 | errx(1, "X509_gmtime_adj"); | 93 | errx(1, "X509_gmtime_adj"); |
| 94 | if (!(*f)(*x, at)) | 94 | if (!f(*x, at)) |
| 95 | err(1, NULL); | 95 | err(1, NULL); |
| 96 | 96 | ||
| 97 | ASN1_TIME_free(at); | 97 | ASN1_TIME_free(at); |
