Skip to content

Depencencies fails to compile #1

@jagenheim

Description

@jagenheim

Added to my Cargo.toml:
hyper_insecure_https_connector="0.1"

Now project fails to compile due to openssl. This worked fine with the 'real' https crate.

cargo:warning=src/c_helpers.c: In function ‘rust_SSL_clone’:
cargo:warning=src/c_helpers.c:4:5: warning: implicit declaration of function ‘CRYPTO_add’ [-Wimplicit-function-declaration]
cargo:warning= 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL);
cargo:warning= | ^~~~~~~~~~
cargo:warning=src/c_helpers.c:4:20: error: dereferencing pointer to incomplete type ‘SSL’ {aka ‘struct ssl_st’}
cargo:warning= 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL);
cargo:warning= | ^~
cargo:warning=src/c_helpers.c:4:37: error: ‘CRYPTO_LOCK_SSL’ undeclared (first use in this function); did you mean ‘CRYPTO_LOCK’?
cargo:warning= 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL);
cargo:warning= | ^~~~~~~~~~~~~~~
cargo:warning= | CRYPTO_LOCK
cargo:warning=src/c_helpers.c:4:37: note: each undeclared identifier is reported only once for each function it appears in
cargo:warning=src/c_helpers.c: In function ‘rust_SSL_CTX_clone’:
cargo:warning=src/c_helpers.c:8:20: error: dereferencing pointer to incomplete type ‘SSL_CTX’ {aka ‘struct ssl_ctx_st’}
cargo:warning= 8 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX);
cargo:warning= | ^~
cargo:warning=src/c_helpers.c:8:35: error: ‘CRYPTO_LOCK_SSL_CTX’ undeclared (first use in this function); did you mean ‘CRYPTO_EX_INDEX_SSL_CTX’?
cargo:warning= 8 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~
cargo:warning= | CRYPTO_EX_INDEX_SSL_CTX
cargo:warning=src/c_helpers.c: In function ‘rust_X509_clone’:
cargo:warning=src/c_helpers.c:12:21: error: dereferencing pointer to incomplete type ‘X509’ {aka ‘struct x509_st’}
cargo:warning= 12 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509);
cargo:warning= | ^~
cargo:warning=src/c_helpers.c:12:36: error: ‘CRYPTO_LOCK_X509’ undeclared (first use in this function); did you mean ‘CRYPTO_LOCK’?
cargo:warning= 12 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509);
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning= | CRYPTO_LOCK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions