diff options
author | tb <> | 2025-03-19 16:30:44 +0000 |
---|---|---|
committer | tb <> | 2025-03-19 16:30:44 +0000 |
commit | ace869efd41274ef6314d1c01bb08680d5896b0e (patch) | |
tree | 2f11c8b8bbd7ae20572d2f6b1744cd6c2bab1a4c | |
parent | 189a40af9925283c8a4e2c66498e9b2e9676f33e (diff) | |
download | openbsd-ace869efd41274ef6314d1c01bb08680d5896b0e.tar.gz openbsd-ace869efd41274ef6314d1c01bb08680d5896b0e.tar.bz2 openbsd-ace869efd41274ef6314d1c01bb08680d5896b0e.zip |
X509_VERIFY_PARAM_lookup(): remove unnecessary braces and add empty line
ok jsing
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vpm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_vpm.c b/src/lib/libcrypto/x509/x509_vpm.c index 7266808f24..8a5eaa1328 100644 --- a/src/lib/libcrypto/x509/x509_vpm.c +++ b/src/lib/libcrypto/x509/x509_vpm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vpm.c,v 1.49 2025/03/19 16:29:37 tb Exp $ */ | 1 | /* $OpenBSD: x509_vpm.c,v 1.50 2025/03/19 16:30:44 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2004. | 3 | * project 2004. |
4 | */ | 4 | */ |
@@ -723,10 +723,10 @@ X509_VERIFY_PARAM_lookup(const char *name) | |||
723 | 723 | ||
724 | limit = sizeof(default_table) / sizeof(X509_VERIFY_PARAM); | 724 | limit = sizeof(default_table) / sizeof(X509_VERIFY_PARAM); |
725 | for (i = 0; i < limit; i++) { | 725 | for (i = 0; i < limit; i++) { |
726 | if (strcmp(default_table[i].name, name) == 0) { | 726 | if (strcmp(default_table[i].name, name) == 0) |
727 | return &default_table[i]; | 727 | return &default_table[i]; |
728 | } | ||
729 | } | 728 | } |
729 | |||
730 | return NULL; | 730 | return NULL; |
731 | } | 731 | } |
732 | LCRYPTO_ALIAS(X509_VERIFY_PARAM_lookup); | 732 | LCRYPTO_ALIAS(X509_VERIFY_PARAM_lookup); |