diff options
author | tb <> | 2023-02-16 08:38:17 +0000 |
---|---|---|
committer | tb <> | 2023-02-16 08:38:17 +0000 |
commit | b1fbdd21532891fac5b0f128e57331894bd69d84 (patch) | |
tree | 689defafde66dbfa38a7854af566bd9a05f191b7 /src/lib/libcrypto/x509/pcy_tree.c | |
parent | ee0f647faa09f91cb79b628dcb818adaa381af90 (diff) | |
download | openbsd-b1fbdd21532891fac5b0f128e57331894bd69d84.tar.gz openbsd-b1fbdd21532891fac5b0f128e57331894bd69d84.tar.bz2 openbsd-b1fbdd21532891fac5b0f128e57331894bd69d84.zip |
libressl *_namespace.h: adjust *_ALIAS() to require a semicolon
LCRYPTO_ALIAS() and LSSL_ALIAS() contained a trailing semicolon.
This does not conform to style(9), breaks editors and ctags and
(most importantly) my workflow. Fix this by neutering them with
asm("") so that -Wpedantic doesn't complain. There's precedent
in libc's namespace.h
fix suggested by & ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/pcy_tree.c')
-rw-r--r-- | src/lib/libcrypto/x509/pcy_tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/pcy_tree.c b/src/lib/libcrypto/x509/pcy_tree.c index 050503bdf3..56e05910cd 100644 --- a/src/lib/libcrypto/x509/pcy_tree.c +++ b/src/lib/libcrypto/x509/pcy_tree.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pcy_tree.c,v 1.5 2022/12/26 07:18:53 jmc Exp $ */ | 1 | /* $OpenBSD: pcy_tree.c,v 1.6 2023/02/16 08:38:17 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 | */ |
@@ -657,7 +657,7 @@ X509_policy_tree_free(X509_POLICY_TREE *tree) | |||
657 | free(tree->levels); | 657 | free(tree->levels); |
658 | free(tree); | 658 | free(tree); |
659 | } | 659 | } |
660 | LCRYPTO_ALIAS(X509_policy_tree_free) | 660 | LCRYPTO_ALIAS(X509_policy_tree_free); |
661 | 661 | ||
662 | /* Application policy checking function. | 662 | /* Application policy checking function. |
663 | * Return codes: | 663 | * Return codes: |
@@ -770,4 +770,4 @@ error: | |||
770 | 770 | ||
771 | return 0; | 771 | return 0; |
772 | } | 772 | } |
773 | LCRYPTO_ALIAS(X509_policy_check) | 773 | LCRYPTO_ALIAS(X509_policy_check); |