-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make header guards of internal headers consistent
Not all of them, only those that didn't leak into a public header... Yes.
- Loading branch information
tb
committed
Nov 26, 2022
1 parent
19e8891
commit 384d7c0
Showing
16 changed files
with
55 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: bn_local.h,v 1.1 2022/11/26 16:08:51 tb Exp $ */ | ||
/* $OpenBSD: bn_local.h,v 1.2 2022/11/26 17:23:17 tb Exp $ */ | ||
/* Copyright (C) 1995-1998 Eric Young ([email protected]) | ||
* All rights reserved. | ||
* | ||
|
@@ -109,8 +109,8 @@ | |
* | ||
*/ | ||
|
||
#ifndef HEADER_BN_LCL_H | ||
#define HEADER_BN_LCL_H | ||
#ifndef HEADER_BN_LOCAL_H | ||
#define HEADER_BN_LOCAL_H | ||
|
||
#include <openssl/opensslconf.h> | ||
|
||
|
@@ -564,4 +564,4 @@ int bn_is_perfect_square(int *out_perfect, const BIGNUM *n, BN_CTX *ctx); | |
int bn_is_prime_bpsw(int *is_prime, const BIGNUM *n, BN_CTX *in_ctx); | ||
|
||
__END_HIDDEN_DECLS | ||
#endif | ||
#endif /* !HEADER_BN_LOCAL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: cms_local.h,v 1.1 2022/11/26 16:08:51 tb Exp $ */ | ||
/* $OpenBSD: cms_local.h,v 1.2 2022/11/26 17:23:17 tb Exp $ */ | ||
/* | ||
* Written by Dr Stephen N Henson ([email protected]) for the OpenSSL | ||
* project. | ||
|
@@ -52,8 +52,8 @@ | |
* ==================================================================== | ||
*/ | ||
|
||
#ifndef HEADER_CMS_LCL_H | ||
#define HEADER_CMS_LCL_H | ||
#ifndef HEADER_CMS_LOCAL_H | ||
#define HEADER_CMS_LOCAL_H | ||
|
||
#include <openssl/x509.h> | ||
|
||
|
@@ -481,4 +481,4 @@ extern const ASN1_ITEM CMS_RevocationInfoChoice_it; | |
extern const ASN1_ITEM CMS_SignedData_it; | ||
extern const ASN1_ITEM CMS_CompressedData_it; | ||
|
||
#endif | ||
#endif /* !HEADER_CMS_LOCAL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: evp_local.h,v 1.1 2022/11/26 16:08:52 tb Exp $ */ | ||
/* $OpenBSD: evp_local.h,v 1.2 2022/11/26 17:23:17 tb Exp $ */ | ||
/* Written by Dr Stephen N Henson ([email protected]) for the OpenSSL | ||
* project 2000. | ||
*/ | ||
|
@@ -56,8 +56,8 @@ | |
* | ||
*/ | ||
|
||
#ifndef HEADER_EVP_LOCL_H | ||
#define HEADER_EVP_LOCL_H | ||
#ifndef HEADER_EVP_LOCAL_H | ||
#define HEADER_EVP_LOCAL_H | ||
|
||
__BEGIN_HIDDEN_DECLS | ||
|
||
|
@@ -321,4 +321,4 @@ int EVP_PKEY_CTX_md(EVP_PKEY_CTX *ctx, int optype, int cmd, const char *md_name) | |
|
||
__END_HIDDEN_DECLS | ||
|
||
#endif /* !HEADER_EVP_LOCL_H */ | ||
#endif /* !HEADER_EVP_LOCAL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: gost_local.h,v 1.1 2022/11/26 16:08:53 tb Exp $ */ | ||
/* $OpenBSD: gost_local.h,v 1.2 2022/11/26 17:23:18 tb Exp $ */ | ||
/* | ||
* Copyright (c) 2014 Dmitry Eremin-Solenikov <[email protected]> | ||
* Copyright (c) 2005-2006 Cryptocom LTD | ||
|
@@ -49,8 +49,8 @@ | |
* ==================================================================== | ||
*/ | ||
|
||
#ifndef HEADER_GOST_LOCL_H | ||
#define HEADER_GOST_LOCL_H | ||
#ifndef HEADER_GOST_LOCAL_H | ||
#define HEADER_GOST_LOCAL_H | ||
|
||
#include <openssl/ec.h> | ||
#include <openssl/ecdsa.h> | ||
|
@@ -114,4 +114,4 @@ extern int GostR3410_512_param_id(const char *value); | |
|
||
__END_HIDDEN_DECLS | ||
|
||
#endif | ||
#endif /* !HEADER_GOST_LOCAL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: pkcs12_local.h,v 1.2 2022/09/11 17:30:13 tb Exp $ */ | ||
/* $OpenBSD: pkcs12_local.h,v 1.3 2022/11/26 17:23:18 tb Exp $ */ | ||
/* Written by Dr Stephen N Henson ([email protected]) for the OpenSSL | ||
* project 1999. | ||
*/ | ||
|
@@ -98,4 +98,4 @@ struct pkcs12_bag_st { | |
|
||
__END_HIDDEN_DECLS | ||
|
||
#endif /* HEADER_PKCS12_LOCAL_H */ | ||
#endif /* !HEADER_PKCS12_LOCAL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: ts_local.h,v 1.2 2022/09/11 17:31:19 tb Exp $ */ | ||
/* $OpenBSD: ts_local.h,v 1.3 2022/11/26 17:23:18 tb Exp $ */ | ||
/* Written by Zoltan Glozik ([email protected]) for the OpenSSL | ||
* project 2002, 2003, 2004. | ||
*/ | ||
|
@@ -313,4 +313,4 @@ ESS_SIGNING_CERT_V2 *ESS_SIGNING_CERT_V2_dup(ESS_SIGNING_CERT_V2 *a); | |
|
||
__END_HIDDEN_DECLS | ||
|
||
#endif /* HEADER_TS_LOCAL_H */ | ||
#endif /* !HEADER_TS_LOCAL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: ui_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ | ||
/* $OpenBSD: ui_local.h,v 1.2 2022/11/26 17:23:18 tb Exp $ */ | ||
|
||
/* Written by Richard Levitte ([email protected]) for the OpenSSL | ||
* project 2001. | ||
|
@@ -57,8 +57,8 @@ | |
* | ||
*/ | ||
|
||
#ifndef HEADER_UI_LOCL_H | ||
#define HEADER_UI_LOCL_H | ||
#ifndef HEADER_UI_LOCAL_H | ||
#define HEADER_UI_LOCAL_H | ||
|
||
#include <openssl/ui.h> | ||
#include <openssl/crypto.h> | ||
|
@@ -149,4 +149,4 @@ struct ui_st { | |
|
||
__END_HIDDEN_DECLS | ||
|
||
#endif | ||
#endif /* !HEADER_UI_LOCAL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: x509_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ | ||
/* $OpenBSD: x509_local.h,v 1.2 2022/11/26 17:23:18 tb Exp $ */ | ||
/* Written by Dr Stephen N Henson ([email protected]) for the OpenSSL | ||
* project 2013. | ||
*/ | ||
|
@@ -56,8 +56,8 @@ | |
* | ||
*/ | ||
|
||
#ifndef HEADER_X509_LCL_H | ||
#define HEADER_X509_LCL_H | ||
#ifndef HEADER_X509_LOCAL_H | ||
#define HEADER_X509_LOCAL_H | ||
|
||
__BEGIN_HIDDEN_DECLS | ||
|
||
|
@@ -377,4 +377,4 @@ int name_cmp(const char *name, const char *cmp); | |
|
||
__END_HIDDEN_DECLS | ||
|
||
#endif /* !HEADER_X509_LCL_H */ | ||
#endif /* !HEADER_X509_LOCAL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: dtls_local.h,v 1.1 2022/11/26 16:08:55 tb Exp $ */ | ||
/* $OpenBSD: dtls_local.h,v 1.2 2022/11/26 17:23:18 tb Exp $ */ | ||
/* | ||
* DTLS implementation written by Nagendra Modadugu | ||
* ([email protected]) for the OpenSSL project 2005. | ||
|
@@ -229,4 +229,4 @@ int dtls1_get_record(SSL *s); | |
|
||
__END_HIDDEN_DECLS | ||
|
||
#endif | ||
#endif /* !HEADER_DTLS_LOCL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: ssl_local.h,v 1.1 2022/11/26 16:08:55 tb Exp $ */ | ||
/* $OpenBSD: ssl_local.h,v 1.2 2022/11/26 17:23:18 tb Exp $ */ | ||
/* Copyright (C) 1995-1998 Eric Young ([email protected]) | ||
* All rights reserved. | ||
* | ||
|
@@ -1535,4 +1535,4 @@ int tls_process_peer_certs(SSL *s, STACK_OF(X509) *peer_certs); | |
|
||
__END_HIDDEN_DECLS | ||
|
||
#endif | ||
#endif /* !HEADER_SSL_LOCL_H */ |