Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix EVP_MD_CTX type definition for LibreSSL (#550)
From <openssl/evp.h> aka. EVP_Digest(3), otherwise OpenBSD builds fail: ``` /usr/include/openssl/ossl_typ.h:103:30: error: type alias redefinition with different types ('struct env_md_ctx_st' vs 'struct evp_md_ctx_st') typedef struct env_md_ctx_st EVP_MD_CTX; ^ /usr/ports/pobj/libdigidocpp-3.16.0/libdigidocpp-3.16.0/src/crypto/Digest.h:59:7: note: previous definition is here using EVP_MD_CTX = struct evp_md_ctx_st; ``` As metsma@ advised, don't include the OpenSSL header in this header to so as not to introduce build time dependencies to third party usages. Signed-off-by: Klemens Nanni <[email protected]>
- Loading branch information