Lines Matching refs:symbols
127 } symbols[3]; in test_lib() local
166 if (!shlib_sym(cryptolib, "OPENSSL_init_crypto", &symbols[0].sym)) { in test_lib()
170 myOPENSSL_init_crypto = (OPENSSL_init_crypto_t)symbols[0].func; in test_lib()
180 if (!shlib_sym(ssllib, "TLS_method", &symbols[0].sym) in test_lib()
181 || !shlib_sym(ssllib, "SSL_CTX_new", &symbols[1].sym) in test_lib()
182 || !shlib_sym(ssllib, "SSL_CTX_free", &symbols[2].sym)) { in test_lib()
186 myTLS_method = (TLS_method_t)symbols[0].func; in test_lib()
187 mySSL_CTX_new = (SSL_CTX_new_t)symbols[1].func; in test_lib()
188 mySSL_CTX_free = (SSL_CTX_free_t)symbols[2].func; in test_lib()
197 if (!shlib_sym(cryptolib, "ERR_get_error", &symbols[0].sym) in test_lib()
198 || !shlib_sym(cryptolib, "OpenSSL_version_num", &symbols[1].sym) in test_lib()
199 || !shlib_sym(cryptolib, "OPENSSL_atexit", &symbols[2].sym)) { in test_lib()
203 myERR_get_error = (ERR_get_error_t)symbols[0].func; in test_lib()
209 myOpenSSL_version_num = (OpenSSL_version_num_t)symbols[1].func; in test_lib()
215 myOPENSSL_atexit = (OPENSSL_atexit_t)symbols[2].func; in test_lib()
234 if (!shlib_sym(cryptolib, "DSO_dsobyaddr", &symbols[0].sym) in test_lib()
235 || !shlib_sym(cryptolib, "DSO_free", &symbols[1].sym)) { in test_lib()
240 myDSO_dsobyaddr = (DSO_dsobyaddr_t)symbols[0].func; in test_lib()
241 myDSO_free = (DSO_free_t)symbols[1].func; in test_lib()