diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-09-28 00:45:57 +0200 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-09-28 20:26:36 +0200 |
commit | ae4186b00487762f581b2276ba83e5214e0e7ee1 (patch) | |
tree | 78787c492eea42ddde78a9423aa1b507ffee162a /crypto/rsa/rsa_local.h | |
parent | 8c78f0ec63f3e16bac1b888dbabf2b6c2d53a1ae (diff) |
Fix header file include guard names
Make the include guards consistent by renaming them systematically according
to the naming conventions below
For the public header files (in the 'include/openssl' directory), the guard
names try to match the path specified in the include directives, with
all letters converted to upper case and '/' and '.' replaced by '_'. For the
private header files files, an extra 'OSSL_' is added as prefix.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9333)
Diffstat (limited to 'crypto/rsa/rsa_local.h')
-rw-r--r-- | crypto/rsa/rsa_local.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/rsa/rsa_local.h b/crypto/rsa/rsa_local.h index 5dcd6eab7b..204fde29fa 100644 --- a/crypto/rsa/rsa_local.h +++ b/crypto/rsa/rsa_local.h @@ -7,8 +7,8 @@ * https://www.openssl.org/source/license.html */ -#ifndef RSA_LOCAL_HEADER_H -#define RSA_LOCAL_HEADER_H +#ifndef OSSL_CRYPTO_RSA_LOCAL_H +#define OSSL_CRYPTO_RSA_LOCAL_H #include <openssl/rsa.h> #include "internal/refcount.h" @@ -167,4 +167,4 @@ int rsa_fips186_4_gen_prob_primes(RSA *rsa, BIGNUM *p1, BIGNUM *p2, const BIGNUM *Xq2, int nbits, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb); -#endif /* RSA_LOCAL_HEADER_H */ +#endif /* OSSL_CRYPTO_RSA_LOCAL_H */ |