hcrypto compiler warnings

This commit is contained in:
Viktor Dukhovni
2016-11-14 14:55:53 +11:00
parent 17d6d0ac1e
commit e4ba666221
3 changed files with 11 additions and 4 deletions

View File

@@ -407,12 +407,14 @@ get_EVP_MD(heim_base_once_t *once, hc_EVP_MD *hc_memoize,
#include "evp-hcrypto.h"
#define OSSL_CIPHER_ALGORITHM(name, flags) \
extern const hc_EVP_CIPHER *hc_EVP_ossl_##name(void); \
const hc_EVP_CIPHER *hc_EVP_ossl_##name(void) \
{ \
return hc_EVP_hcrypto_##name(); \
}
#define OSSL_MD_ALGORITHM(name) \
extern const hc_EVP_MD *hc_EVP_ossl_##name(void); \
const hc_EVP_MD *hc_EVP_ossl_##name(void) \
{ \
return hc_EVP_hcrypto_##name(); \