summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/pkcs7/bio_pk7.c
diff options
context:
space:
mode:
authortb <>2023-02-16 08:38:17 +0000
committertb <>2023-02-16 08:38:17 +0000
commit24a27fd0d17d515b00097199de60fa85a76a95df (patch)
tree689defafde66dbfa38a7854af566bd9a05f191b7 /src/lib/libcrypto/pkcs7/bio_pk7.c
parent3170d87c6599656e7568dca509714cf70723f0d2 (diff)
downloadopenbsd-24a27fd0d17d515b00097199de60fa85a76a95df.tar.gz
openbsd-24a27fd0d17d515b00097199de60fa85a76a95df.tar.bz2
openbsd-24a27fd0d17d515b00097199de60fa85a76a95df.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/pkcs7/bio_pk7.c')
-rw-r--r--src/lib/libcrypto/pkcs7/bio_pk7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/pkcs7/bio_pk7.c b/src/lib/libcrypto/pkcs7/bio_pk7.c
index 5f02535484..83cf70fd87 100644
--- a/src/lib/libcrypto/pkcs7/bio_pk7.c
+++ b/src/lib/libcrypto/pkcs7/bio_pk7.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_pk7.c,v 1.6 2022/11/12 12:11:14 beck Exp $ */ 1/* $OpenBSD: bio_pk7.c,v 1.7 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. 3 * project.
4 */ 4 */
@@ -64,4 +64,4 @@ BIO_new_PKCS7(BIO *out, PKCS7 *p7)
64{ 64{
65 return BIO_new_NDEF(out, (ASN1_VALUE *)p7, &PKCS7_it); 65 return BIO_new_NDEF(out, (ASN1_VALUE *)p7, &PKCS7_it);
66} 66}
67LCRYPTO_ALIAS(BIO_new_PKCS7) 67LCRYPTO_ALIAS(BIO_new_PKCS7);