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/x509_err.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/x509_err.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_err.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_err.c b/src/lib/libcrypto/x509/x509_err.c index c83655046a..272d2894d8 100644 --- a/src/lib/libcrypto/x509/x509_err.c +++ b/src/lib/libcrypto/x509/x509_err.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_err.c,v 1.18 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_err.c,v 1.19 2023/02/16 08:38:17 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -191,7 +191,7 @@ ERR_load_X509_strings(void) | |||
191 | } | 191 | } |
192 | #endif | 192 | #endif |
193 | } | 193 | } |
194 | LCRYPTO_ALIAS(ERR_load_X509_strings) | 194 | LCRYPTO_ALIAS(ERR_load_X509_strings); |
195 | 195 | ||
196 | 196 | ||
197 | void | 197 | void |
@@ -204,4 +204,4 @@ ERR_load_X509V3_strings(void) | |||
204 | } | 204 | } |
205 | #endif | 205 | #endif |
206 | } | 206 | } |
207 | LCRYPTO_ALIAS(ERR_load_X509V3_strings) | 207 | LCRYPTO_ALIAS(ERR_load_X509V3_strings); |