From: Tomas Mraz Date: Mon, 1 Mar 2021 14:49:50 +0000 (+0100) Subject: Remove todos in providers/implementations/include/prov X-Git-Tag: openssl-3.0.0-alpha13~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fffb67343e6e5bdfce34f2b3e0add058c1be420a;p=thirdparty%2Fopenssl.git Remove todos in providers/implementations/include/prov Those TODOs are not relevant anymore as the headers are now in providers. Also make the header guard defines better reflect the header placement. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/14367) --- diff --git a/providers/implementations/include/prov/blake2.h b/providers/implementations/include/prov/blake2.h index 33b82490ef4..305f7a3c537 100644 --- a/providers/implementations/include/prov/blake2.h +++ b/providers/implementations/include/prov/blake2.h @@ -7,9 +7,8 @@ * https://www.openssl.org/source/license.html */ -/* TODO(3.0) Move this header into provider when dependencies are removed */ -#ifndef OSSL_PROVIDERS_DEFAULT_INCLUDE_INTERNAL_BLAKE2_H -# define OSSL_PROVIDERS_DEFAULT_INCLUDE_INTERNAL_BLAKE2_H +#ifndef OSSL_PROV_BLAKE2_H +# define OSSL_PROV_BLAKE2_H # include @@ -118,4 +117,4 @@ void ossl_blake2s_param_set_personal(BLAKE2S_PARAM *P, const uint8_t *personal, void ossl_blake2s_param_set_salt(BLAKE2S_PARAM *P, const uint8_t *salt, size_t length); -#endif /* OSSL_PROVIDERS_DEFAULT_INCLUDE_INTERNAL_BLAKE2_H */ +#endif /* OSSL_PROV_BLAKE2_H */ diff --git a/providers/implementations/include/prov/md5_sha1.h b/providers/implementations/include/prov/md5_sha1.h index 33bfa29b517..284ec957ba2 100644 --- a/providers/implementations/include/prov/md5_sha1.h +++ b/providers/implementations/include/prov/md5_sha1.h @@ -7,9 +7,8 @@ * https://www.openssl.org/source/license.html */ -/* TODO(3.0) Move this header into provider when dependencies are removed */ -#ifndef OSSL_INTERNAL_MD5_SHA1_H -# define OSSL_INTERNAL_MD5_SHA1_H +#ifndef OSSL_PROV_MD5_SHA1_H +# define OSSL_PROV_MD5_SHA1_H # include @@ -34,4 +33,4 @@ int ossl_md5_sha1_ctrl(MD5_SHA1_CTX *mctx, int cmd, int mslen, void *ms); # endif /* OPENSSL_NO_MD5 */ -#endif /* OSSL_INTERNAL_MD5_SHA1_H */ +#endif /* OSSL_PROV_MD5_SHA1_H */