Last active
January 15, 2020 15:34
-
-
Save thbar/340cedb6a5d234f0f301ad1cbd9113ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recompiling the OpenSSL C extension (against the installed libssl) | |
/Users/thbar/.rbenv/versions/truffleruby-19.3.1/lib/truffle/rbconfig.rb:35: warning: loading in progress, circular require considered harmful - /Users/thbar/.rbenv/versions/truffleruby-19.3.1/lib/truffle/rbconfig.rb | |
checking for openssl/ssl.h... yes | |
checking for OpenSSL version is 1.0.1 or later... yes | |
checking for RAND_egd()... no | |
checking for ENGINE_load_builtin_engines() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_builtin_engines in openssl/engine.h... no | |
checking for ENGINE_load_openbsd_dev_crypto() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_openbsd_dev_crypto in openssl/engine.h... no | |
checking for ENGINE_load_dynamic() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_dynamic in openssl/engine.h... yes | |
checking for ENGINE_load_4758cca() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_4758cca in openssl/engine.h... no | |
checking for ENGINE_load_aep() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_aep in openssl/engine.h... no | |
checking for ENGINE_load_atalla() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_atalla in openssl/engine.h... no | |
checking for ENGINE_load_chil() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_chil in openssl/engine.h... no | |
checking for ENGINE_load_cswift() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_cswift in openssl/engine.h... no | |
checking for ENGINE_load_nuron() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_nuron in openssl/engine.h... no | |
checking for ENGINE_load_sureware() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_sureware in openssl/engine.h... no | |
checking for ENGINE_load_ubsec() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_ubsec in openssl/engine.h... no | |
checking for ENGINE_load_padlock() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_padlock in openssl/engine.h... no | |
checking for ENGINE_load_capi() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_capi in openssl/engine.h... no | |
checking for ENGINE_load_gmp() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_gmp in openssl/engine.h... no | |
checking for ENGINE_load_gost() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_gost in openssl/engine.h... no | |
checking for ENGINE_load_cryptodev() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_cryptodev in openssl/engine.h... yes | |
checking for ENGINE_load_aesni() in openssl/engine.h with -Werror=deprecated-declarations... no | |
checking for ENGINE_load_aesni in openssl/engine.h... no | |
checking for EC_curve_nist2nid()... no | |
checking for X509_REVOKED_dup()... no | |
checking for X509_STORE_CTX_get0_store()... no | |
checking for SSL_CTX_set_alpn_select_cb()... no | |
checking for SSL_CTX_set1_curves_list() in openssl/ssl.h with -Werror=deprecated-declarations... no | |
checking for SSL_CTX_set1_curves_list in openssl/ssl.h... yes | |
checking for SSL_CTX_set_ecdh_auto() in openssl/ssl.h with -Werror=deprecated-declarations... no | |
checking for SSL_CTX_set_ecdh_auto in openssl/ssl.h... yes | |
checking for SSL_get_server_tmp_key() in openssl/ssl.h with -Werror=deprecated-declarations... no | |
checking for SSL_get_server_tmp_key in openssl/ssl.h... yes | |
checking for SSL_is_server()... no | |
checking for SSL.ctx in openssl/ssl.h... no | |
checking for CRYPTO_lock()... no | |
checking for BN_GENCB_new()... no | |
checking for BN_GENCB_free()... no | |
checking for BN_GENCB_get_arg()... no | |
checking for EVP_MD_CTX_new()... no | |
checking for EVP_MD_CTX_free()... no | |
checking for HMAC_CTX_new()... no | |
checking for HMAC_CTX_free()... no | |
checking for RAND_pseudo_bytes() in openssl/rand.h with -Werror=deprecated-declarations... no | |
checking for X509_STORE_get_ex_data()... no | |
checking for X509_STORE_set_ex_data()... no | |
checking for X509_CRL_get0_signature()... no | |
checking for X509_REQ_get0_signature()... no | |
checking for X509_REVOKED_get0_serialNumber()... no | |
checking for X509_REVOKED_get0_revocationDate()... no | |
checking for X509_get0_tbs_sigalg()... no | |
checking for X509_STORE_CTX_get0_untrusted()... no | |
checking for X509_STORE_CTX_get0_cert()... no | |
checking for X509_STORE_CTX_get0_chain()... no | |
checking for OCSP_SINGLERESP_get0_id()... no | |
checking for SSL_CTX_get_ciphers()... no | |
checking for X509_up_ref()... no | |
checking for X509_CRL_up_ref()... no | |
checking for X509_STORE_up_ref()... no | |
checking for SSL_SESSION_up_ref()... no | |
checking for EVP_PKEY_up_ref()... no | |
checking for SSL_CTX_set_tmp_ecdh_callback() in openssl/ssl.h with -Werror=deprecated-declarations... no | |
checking for SSL_CTX_set_tmp_ecdh_callback in openssl/ssl.h... no | |
checking for SSL_CTX_set_min_proto_version() in openssl/ssl.h with -Werror=deprecated-declarations... no | |
checking for SSL_CTX_set_min_proto_version in openssl/ssl.h... yes | |
checking for SSL_CTX_get_security_level()... no | |
checking for X509_get0_notBefore()... no | |
checking for SSL_SESSION_get_protocol_version()... no | |
checking for EVP_PBE_scrypt()... no | |
creating extconf.h | |
creating Makefile | |
compiling openssl_missing.c | |
In file included from openssl_missing.c:21: | |
./openssl_missing.h:75:11: warning: 'X509_STORE_get_ex_new_index' macro redefined [-Wmacro-redefined] | |
# define X509_STORE_get_ex_new_index(l, p, newf, dupf, freef) \ | |
^ | |
/usr/local/opt/[email protected]/include/openssl/x509_vfy.h:326:9: note: previous definition is here | |
#define X509_STORE_get_ex_new_index(l, p, newf, dupf, freef) \ | |
^ | |
openssl_missing.c:65:36: error: invalid application of 'sizeof' to an incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') | |
HMAC_CTX *ctx = OPENSSL_malloc(sizeof(HMAC_CTX)); | |
^ ~~~~~~~~~~ | |
/usr/local/opt/[email protected]/include/openssl/crypto.h:118:23: note: expanded from macro 'OPENSSL_malloc' | |
CRYPTO_malloc(num, OPENSSL_FILE, OPENSSL_LINE) | |
^~~ | |
/usr/local/opt/[email protected]/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' | |
typedef struct hmac_ctx_st HMAC_CTX; | |
^ | |
openssl_missing.c:68:5: warning: implicit declaration of function 'HMAC_CTX_init' is invalid in C99 | |
[-Wimplicit-function-declaration] | |
HMAC_CTX_init(ctx); | |
^ | |
openssl_missing.c:78:2: warning: implicit declaration of function 'HMAC_CTX_cleanup' is invalid in C99 | |
[-Wimplicit-function-declaration] | |
HMAC_CTX_cleanup(ctx); | |
^ | |
openssl_missing.c:90:13: error: incomplete definition of type 'struct X509_crl_st' | |
*psig = crl->signature; | |
~~~^ | |
/usr/local/opt/[email protected]/include/openssl/ossl_typ.h:122:16: note: forward declaration of 'struct X509_crl_st' | |
typedef struct X509_crl_st X509_CRL; | |
^ | |
openssl_missing.c:92:13: error: incomplete definition of type 'struct X509_crl_st' | |
*palg = crl->sig_alg; | |
~~~^ | |
/usr/local/opt/[email protected]/include/openssl/ossl_typ.h:122:16: note: forward declaration of 'struct X509_crl_st' | |
typedef struct X509_crl_st X509_CRL; | |
^ | |
openssl_missing.c:102:13: error: incomplete definition of type 'struct X509_req_st' | |
*psig = req->signature; | |
~~~^ | |
/usr/local/opt/[email protected]/include/openssl/x509.h:93:16: note: forward declaration of 'struct X509_req_st' | |
typedef struct X509_req_st X509_REQ; | |
^ | |
openssl_missing.c:104:13: error: incomplete definition of type 'struct X509_req_st' | |
*palg = req->sig_alg; | |
~~~^ | |
/usr/local/opt/[email protected]/include/openssl/x509.h:93:16: note: forward declaration of 'struct X509_req_st' | |
typedef struct X509_req_st X509_REQ; | |
^ | |
3 warnings and 5 errors generated. | |
make: *** [openssl_missing.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment