Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-390

Suppress or Fix the warnings openssl.c produce

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • None
    • proton-c
    • OS X

    Description

      openssl.c produces lots of warnings.

      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘_log_ssl_error’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:165: warning: ‘ERR_get_error’ is deprecated (declared at /usr/include/openssl/err.h:266)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:167: warning: ‘ERR_error_string_n’ is deprecated (declared at /usr/include/openssl/err.h:280)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:169: warning: ‘ERR_get_error’ is deprecated (declared at /usr/include/openssl/err.h:266)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘ssl_failed’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:189: warning: ‘ERR_get_error’ is deprecated (declared at /usr/include/openssl/err.h:266)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:191: warning: ‘ERR_error_string_n’ is deprecated (declared at /usr/include/openssl/err.h:280)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘verify_callback’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:257: warning: ‘X509_STORE_CTX_get_error_depth’ is deprecated (declared at /usr/include/openssl/x509_vfy.h:453)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:261: warning: ‘X509_STORE_CTX_get_current_cert’ is deprecated (declared at /usr/include/openssl/x509_vfy.h:454)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:262: warning: ‘X509_STORE_CTX_get_ex_data’ is deprecated (declared at /usr/include/openssl/x509_vfy.h:450)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:262: warning: ‘SSL_get_ex_data_X509_STORE_CTX_idx’ is deprecated (declared at /usr/include/openssl/ssl.h:1601)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:268: warning: ‘SSL_get_ex_data’ is deprecated (declared at /usr/include/openssl/ssl.h:1587)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:285: warning: ‘X509_get_ext_d2i’ is deprecated (declared at /usr/include/openssl/x509.h:1151)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:287: warning: ‘sk_num’ is deprecated (declared at /usr/include/openssl/stack.h:81)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:290: warning: ‘sk_value’ is deprecated (declared at /usr/include/openssl/stack.h:82)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:295: warning: ‘ASN1_STRING_to_UTF8’ is deprecated (declared at /usr/include/openssl/asn1.h:981)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:299: warning: ‘CRYPTO_free’ is deprecated (declared at /usr/include/openssl/crypto.h:480)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:308: warning: ‘X509_get_subject_name’ is deprecated (declared at /usr/include/openssl/x509.h:1013)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:310: warning: ‘X509_NAME_get_index_by_NID’ is deprecated (declared at /usr/include/openssl/x509.h:1105)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:311: warning: ‘X509_NAME_get_entry’ is deprecated (declared at /usr/include/openssl/x509.h:1108)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:312: warning: ‘X509_NAME_ENTRY_get_data’ is deprecated (declared at /usr/include/openssl/x509.h:1130)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:315: warning: ‘ASN1_STRING_to_UTF8’ is deprecated (declared at /usr/include/openssl/asn1.h:981)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:319: warning: ‘CRYPTO_free’ is deprecated (declared at /usr/include/openssl/crypto.h:480)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:329: warning: ‘X509_STORE_CTX_set_error’ is deprecated (declared at /usr/include/openssl/x509_vfy.h:452)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘get_dh2048’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:371: warning: ‘DH_new’ is deprecated (declared at /usr/include/openssl/dh.h:184)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:372: warning: ‘BN_bin2bn’ is deprecated (declared at /usr/include/openssl/bn.h:422)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:373: warning: ‘BN_bin2bn’ is deprecated (declared at /usr/include/openssl/bn.h:422)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:375: warning: ‘DH_free’ is deprecated (declared at /usr/include/openssl/dh.h:185)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘ssn_cache_find’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:385: warning: ‘SSL_SESSION_get_time’ is deprecated (declared at /usr/include/openssl/ssl.h:1421)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:386: warning: ‘SSL_SESSION_get_timeout’ is deprecated (declared at /usr/include/openssl/ssl.h:1423)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘ssl_session_free’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:407: warning: ‘SSL_SESSION_free’ is deprecated (declared at /usr/include/openssl/ssl.h:1437)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘pn_ssl_domain’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:419: warning: ‘SSL_library_init’ is deprecated (declared at /usr/include/openssl/ssl.h:1553)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:420: warning: ‘SSL_load_error_strings’ is deprecated (declared at /usr/include/openssl/ssl.h:1416)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:421: warning: ‘OPENSSL_add_all_algorithms_noconf’ is deprecated (declared at /usr/include/openssl/evp.h:828)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:422: warning: ‘SSL_get_ex_new_index’ is deprecated (declared at /usr/include/openssl/ssl.h:1589)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:433: warning: ‘SSL_CTX_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1346)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:433: warning: ‘TLSv1_client_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1521)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:442: warning: ‘SSL_CTX_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1346)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:442: warning: ‘SSLv23_server_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1516)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:448: warning: ‘SSL_CTX_ctrl’ is deprecated (declared at /usr/include/openssl/ssl.h:1498)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:458: warning: ‘SSL_CTX_set_cipher_list’ is deprecated (declared at /usr/include/openssl/ssl.h:1345)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:472: warning: ‘SSL_CTX_ctrl’ is deprecated (declared at /usr/include/openssl/ssl.h:1498)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:473: warning: ‘DH_free’ is deprecated (declared at /usr/include/openssl/dh.h:185)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:474: warning: ‘SSL_CTX_ctrl’ is deprecated (declared at /usr/include/openssl/ssl.h:1498)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘pn_ssl_domain_free’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:492: warning: ‘SSL_CTX_free’ is deprecated (declared at /usr/include/openssl/ssl.h:1347)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘pn_ssl_domain_set_credentials’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:507: warning: ‘SSL_CTX_use_certificate_chain_file’ is deprecated (declared at /usr/include/openssl/ssl.h:1403)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:514: warning: ‘SSL_CTX_set_default_passwd_cb’ is deprecated (declared at /usr/include/openssl/ssl.h:1472)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:515: warning: ‘SSL_CTX_set_default_passwd_cb_userdata’ is deprecated (declared at /usr/include/openssl/ssl.h:1473)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:518: warning: ‘SSL_CTX_use_PrivateKey_file’ is deprecated (declared at /usr/include/openssl/ssl.h:1401)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:523: warning: ‘SSL_CTX_check_private_key’ is deprecated (declared at /usr/include/openssl/ssl.h:1475)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:534: warning: ‘SSL_CTX_set_cipher_list’ is deprecated (declared at /usr/include/openssl/ssl.h:1345)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘pn_ssl_domain_set_trusted_ca_db’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:566: warning: ‘SSL_CTX_load_verify_locations’ is deprecated (declared at /usr/include/openssl/ssl.h:1572)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘pn_ssl_domain_set_peer_authentication’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:608: warning: ‘SSL_load_client_CA_file’ is deprecated (declared at /usr/include/openssl/ssl.h:1404)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:610: warning: ‘SSL_CTX_set_client_CA_list’ is deprecated (declared at /usr/include/openssl/ssl.h:1542)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:617: warning: ‘SSL_CTX_set_verify’ is deprecated (declared at /usr/include/openssl/ssl.h:1459)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:625: warning: ‘SSL_CTX_set_verify’ is deprecated (declared at /usr/include/openssl/ssl.h:1459)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘pn_ssl_get_cipher_name’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:676: warning: ‘SSL_get_current_cipher’ is deprecated (declared at /usr/include/openssl/ssl.h:1357)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:677: warning: ‘SSL_CIPHER_get_name’ is deprecated (declared at /usr/include/openssl/ssl.h:1360)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘pn_ssl_get_protocol_name’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:691: warning: ‘SSL_get_current_cipher’ is deprecated (declared at /usr/include/openssl/ssl.h:1357)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:692: warning: ‘SSL_CIPHER_get_version’ is deprecated (declared at /usr/include/openssl/ssl.h:1359)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘start_ssl_shutdown’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:773: warning: ‘SSL_get1_session’ is deprecated (declared at /usr/include/openssl/ssl.h:1575)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘process_input_ssl’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:820: warning: ‘BIO_write’ is deprecated (declared at /usr/include/openssl/bio.h:587)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:833: warning: ‘BIO_ctrl’ is deprecated (declared at /usr/include/openssl/bio.h:590)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:840: warning: ‘BIO_read’ is deprecated (declared at /usr/include/openssl/bio.h:585)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:847: warning: ‘BIO_test_flags’ is deprecated (declared at /usr/include/openssl/bio.h:208)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:848: warning: ‘SSL_get_error’ is deprecated (declared at /usr/include/openssl/ssl.h:1501)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:861: warning: ‘BIO_test_flags’ is deprecated (declared at /usr/include/openssl/bio.h:208)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:865: warning: ‘BIO_test_flags’ is deprecated (declared at /usr/include/openssl/bio.h:208)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:941: warning: ‘SSL_get_shutdown’ is deprecated (declared at /usr/include/openssl/ssl.h:1568)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘process_output_ssl’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:983: warning: ‘BIO_write’ is deprecated (declared at /usr/include/openssl/bio.h:587)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:990: warning: ‘BIO_test_flags’ is deprecated (declared at /usr/include/openssl/bio.h:208)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:991: warning: ‘SSL_get_error’ is deprecated (declared at /usr/include/openssl/ssl.h:1501)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1005: warning: ‘BIO_test_flags’ is deprecated (declared at /usr/include/openssl/bio.h:208)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1009: warning: ‘BIO_test_flags’ is deprecated (declared at /usr/include/openssl/bio.h:208)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1030: warning: ‘BIO_read’ is deprecated (declared at /usr/include/openssl/bio.h:585)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1054: warning: ‘SSL_get_shutdown’ is deprecated (declared at /usr/include/openssl/ssl.h:1568)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1054: warning: ‘BIO_ctrl’ is deprecated (declared at /usr/include/openssl/bio.h:590)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘init_ssl_socket’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1067: warning: ‘SSL_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1481)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1074: warning: ‘SSL_set_ex_data’ is deprecated (declared at /usr/include/openssl/ssl.h:1586)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1078: warning: ‘SSL_ctrl’ is deprecated (declared at /usr/include/openssl/ssl.h:1496)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1087: warning: ‘SSL_set_session’ is deprecated (declared at /usr/include/openssl/ssl.h:1439)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1097: warning: ‘BIO_new’ is deprecated (declared at /usr/include/openssl/bio.h:581)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1102: warning: ‘BIO_ctrl’ is deprecated (declared at /usr/include/openssl/bio.h:590)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1105: warning: ‘BIO_new_bio_pair’ is deprecated (declared at /usr/include/openssl/bio.h:682)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1109: warning: ‘SSL_set_bio’ is deprecated (declared at /usr/include/openssl/ssl.h:1375)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1112: warning: ‘SSL_set_accept_state’ is deprecated (declared at /usr/include/openssl/ssl.h:1549)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1113: warning: ‘BIO_ctrl’ is deprecated (declared at /usr/include/openssl/bio.h:590)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1116: warning: ‘SSL_set_connect_state’ is deprecated (declared at /usr/include/openssl/ssl.h:1548)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1117: warning: ‘BIO_ctrl’ is deprecated (declared at /usr/include/openssl/bio.h:590)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘release_ssl_socket’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1125: warning: ‘BIO_free’ is deprecated (declared at /usr/include/openssl/bio.h:583)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1127: warning: ‘SSL_free’ is deprecated (declared at /usr/include/openssl/ssl.h:1490)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1129: warning: ‘BIO_free’ is deprecated (declared at /usr/include/openssl/bio.h:583)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1131: warning: ‘BIO_free’ is deprecated (declared at /usr/include/openssl/bio.h:583)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘pn_ssl_resume_status’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1233: warning: ‘SSL_ctrl’ is deprecated (declared at /usr/include/openssl/ssl.h:1496)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘pn_ssl_set_peer_hostname’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1253: warning: ‘SSL_ctrl’ is deprecated (declared at /usr/include/openssl/ssl.h:1496)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘buffered_output’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1294: warning: ‘BIO_ctrl_pending’ is deprecated (declared at /usr/include/openssl/bio.h:517)
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c: In function ‘buffered_input’:
      /Users/chirino/sandbox/qpid-proton/proton-c/src/ssl/openssl.c:1308: warning: ‘BIO_ctrl_pending’ is deprecated (declared at /usr/include/openssl/bio.h:517)

      Attachments

        Activity

          People

            Unassigned Unassigned
            chirino Hiram R. Chirino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: