8000 compile errors for 4.8.0 with boringssl 0.20250311.0 · Issue #548 · sqlcipher/sqlcipher · GitHub
[go: up one dir, main page]

Skip to content
compile errors for 4.8.0 with boringssl 0.20250311.0 #548
Open
@APshenkin

Description

@APshenkin

With latest update (starting 4.7.0) it's not possible to compile sqlcipher with boring ssl

sqlite3.c:112142:3: error: unknown type name 'EVP_MAC'; did you mean 'EVP_MD'?
./thirdparty/boringssl/include/openssl/base.h:306:26: note: 'EVP_MD' declared here
sqlite3.c:112143:3: error: unknown type name 'EVP_MAC_CTX'; did you mean 'EVP_MD_CTX'?
./thirdparty/boringssl/include/openssl/base.h:305:30: note: 'EVP_MD_CTX' declared here
sqlite3.c:112144:3: error: use of undeclared identifier 'OSSL_PARAM'
sqlite3.c:112145:3: error: use of undeclared identifier 'OSSL_PARAM'
sqlite3.c:112146:3: error: use of undeclared identifier 'OSSL_PARAM'
sqlite3.c:112150:9: error: call to undeclared function 'EVP_MAC_fetch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
sqlite3.c:112150:7: error: incompatible integer to pointer conversion assigning to 'EVP_MD *' (aka 'struct env_md_st *') from 'int' [-Wint-conversion]
sqlite3.c:112157:10: error: call to undeclared function 'EVP_MAC_CTX_new'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
sqlite3.c:112157:10: note: did you mean 'EVP_MD_CTX_new'?
./thirdparty/boringssl/include/openssl/digest.h:72:28: note: 'EVP_MD_CTX_new' declared here
sqlite3.c:112157:8: error: incompatible integer to pointer conversion assigning to 'EVP_MD_CTX *' (aka 'struct env_md_ctx_st *') from 'int' [-Wint-conversion]
sqlite3.c:112166:17: error: call to undeclared function 'EVP_MAC_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
sqlite3.c:112166:54: error: use of undeclared identifier 'sha1'
sqlite3.c:112173:54: error: use of undeclared identifier 'sha256'
sqlite3.c:112180:54: error: use of undeclared identifier 'sha512'
sqlite3.c:112191:13: error: call to undeclared function 'EVP_MAC_update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
sqlite3.c:112205:13: error: call to undeclared function 'EVP_MAC_final'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
sqlite3.c:112224:12: error: call to undeclared function 'EVP_MAC_CTX_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
sqlite3.c:112224:12: note: did you mean 'EVP_MD_CTX_free'?
./thirdparty/boringssl/include/openssl/digest.h:86:21: note: 'EVP_MD_CTX_free' declared here
sqlite3.c:112225:11: error: call to undeclared function 'EVP_MAC_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

It was broken by this commit
801b81a#diff-82e70a6e96253ef55c2839df7bf253d2ce6ce7496962640ba072c8c4041880bdL61-L191

As in Boring SSL you don't have those types

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0