From 7b03fe01b152af99e43b7fc69af8ce116432c5ec Mon Sep 17 00:00:00 2001 From: miod <> Date: Thu, 1 May 2014 11:11:37 +0000 Subject: Remove fips_md_init() macro indirection for digest algorithms, used by the OpenSSL FIPS module to prevent forbidden digests to be allowed. No functional change but readability. ok deraadt@ --- src/lib/libcrypto/crypto.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/lib/libcrypto/crypto.h') diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h index 11c34d8bbe..00d3cc2aae 100644 --- a/src/lib/libcrypto/crypto.h +++ b/src/lib/libcrypto/crypto.h @@ -533,12 +533,6 @@ int OPENSSL_isservice(void); void OPENSSL_init(void); -#define fips_md_init(alg) fips_md_init_ctx(alg, alg) - -#define fips_md_init_ctx(alg, cx) \ - int alg##_Init(cx##_CTX *c) -#define fips_cipher_abort(alg) while(0) - /* CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal. It * takes an amount of time dependent on |len|, but independent of the contents * of |a| and |b|. Unlike memcmp, it cannot be used to put elements into a -- cgit v1.2.3-55-g6feb