diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2019-04-21 16:25:41 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2019-04-21 16:25:41 +0000 |
commit | c497aed6fa30e0b90e3ce477e3d8c0078672d766 (patch) | |
tree | d9a6670741428306cd87279abe6f77960710d8c0 /lib | |
parent | f93781a079eb7049ea912b5be6a9f4dc2ea450ce (diff) |
KNF: use proper wrapping of function return type and name
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/x509v3/pcy_node.c | 5 | ||||
-rw-r--r-- | lib/libcrypto/x509v3/v3_cpols.c | 7 | ||||
-rw-r--r-- | lib/libcrypto/x509v3/v3_crld.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/lib/libcrypto/x509v3/pcy_node.c b/lib/libcrypto/x509v3/pcy_node.c index ba22b267bfe..c9664636061 100644 --- a/lib/libcrypto/x509v3/pcy_node.c +++ b/lib/libcrypto/x509v3/pcy_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcy_node.c,v 1.6 2015/07/18 00:01:05 beck Exp $ */ +/* $OpenBSD: pcy_node.c,v 1.7 2019/04/21 16:25:40 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2004. */ @@ -68,7 +68,8 @@ node_cmp(const X509_POLICY_NODE * const *a, const X509_POLICY_NODE * const *b) return OBJ_cmp((*a)->data->valid_policy, (*b)->data->valid_policy); } -STACK_OF(X509_POLICY_NODE) *policy_node_cmp_new(void) +STACK_OF(X509_POLICY_NODE) * +policy_node_cmp_new(void) { return sk_X509_POLICY_NODE_new(node_cmp); } diff --git a/lib/libcrypto/x509v3/v3_cpols.c b/lib/libcrypto/x509v3/v3_cpols.c index 34d3381d76f..4359327b8b9 100644 --- a/lib/libcrypto/x509v3/v3_cpols.c +++ b/lib/libcrypto/x509v3/v3_cpols.c @@ -1,4 +1,4 @@ -/* $OpenBSD: v3_cpols.c,v 1.25 2017/01/29 17:49:23 beck Exp $ */ +/* $OpenBSD: v3_cpols.c,v 1.26 2019/04/21 16:25:40 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -398,9 +398,8 @@ NOTICEREF_free(NOTICEREF *a) ASN1_item_free((ASN1_VALUE *)a, &NOTICEREF_it); } -static -STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, - char *value) +static STACK_OF(POLICYINFO) * +r2i_certpol(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *value) { STACK_OF(POLICYINFO) *pols = NULL; char *pstr; diff --git a/lib/libcrypto/x509v3/v3_crld.c b/lib/libcrypto/x509v3/v3_crld.c index 8660c1ee4b4..039435f1dba 100644 --- a/lib/libcrypto/x509v3/v3_crld.c +++ b/lib/libcrypto/x509v3/v3_crld.c @@ -1,4 +1,4 @@ -/* $OpenBSD: v3_crld.c,v 1.22 2017/05/02 04:11:08 deraadt Exp $ */ +/* $OpenBSD: v3_crld.c,v 1.23 2019/04/21 16:25:40 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -104,8 +104,8 @@ const X509V3_EXT_METHOD v3_freshest_crl = { .usr_data = NULL, }; -static -STACK_OF(GENERAL_NAME) *gnames_from_sectname(X509V3_CTX *ctx, char *sect) +static STACK_OF(GENERAL_NAME) * +gnames_from_sectname(X509V3_CTX *ctx, char *sect) { STACK_OF(CONF_VALUE) *gnsect; STACK_OF(GENERAL_NAME) *gens; |