Description:
Currently, the Windows source contains the source to yaSSL, but binaries of the library are not included in the builds (lib/)
- The 64bit build currently has yaSSL support compiled in, but the library is missing
- The 32bit build appears to be missing yaSSL support entirely
On the 64bit version, attempting to link results in the following errors (below) - building a copy of yassl and and taocrypt, and dropping them into lib/ resolves this on the x64 platform
Linking...
mysqlclient.lib(client.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_free
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_free
mysqlclient.lib(client.obj) : error LNK2001: unresolved external symbol yaSSL_get_cipher_name
mysqlclient.lib(client.obj) : error LNK2001: unresolved external symbol yaX509_free
mysqlclient.lib(client.obj) : error LNK2001: unresolved external symbol yaX509_NAME_oneline
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaX509_NAME_oneline
mysqlclient.lib(client.obj) : error LNK2001: unresolved external symbol yaX509_get_subject_name
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaX509_get_subject_name
mysqlclient.lib(client.obj) : error LNK2001: unresolved external symbol yaSSL_get_peer_certificate
mysqlclient.lib(vio.obj) : error LNK2001: unresolved external symbol yayaSSL_CleanUp
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaERR_get_error_line_data
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaERR_get_error_line_data
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_read
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_write
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_shutdown
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_free
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_accept
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_set_fd
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_SESSION_set_timeout
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_get_session
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_clear
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_new
mysqlclient.lib(viossl.obj) : error LNK2001: unresolved external symbol yaSSL_connect
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaDH_free
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaBN_bin2bn
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaDH_new
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_check_private_key
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_use_PrivateKey_file
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_use_certificate_file
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaX509_get_issuer_name
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaX509_STORE_CTX_get_error_depth
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaX509_STORE_CTX_get_error
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaX509_STORE_CTX_get_current_cert
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_load_error_strings
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaOpenSSL_add_all_algorithms
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_library_init
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_set_tmp_dh
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_set_default_verify_paths
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_load_verify_locations
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_set_cipher_list
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_new
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_set_verify
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaTLSv1_client_method
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_set_session_id_context
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaSSL_CTX_sess_set_cache_size
mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol yaTLSv1_server_method
ReleaseX64/MySQLCmd64.dll : fatal error LNK1120: 42 unresolved externals
How to repeat:
N/A
Suggested fix:
The yaSSL libraries and support are compiled and included in all windows builds.