Lines Matching refs:symbols
69 } symbols[5]; in test_lib() local
110 if (!sd_sym(cryptolib, "OPENSSL_init_crypto", &symbols[0].sym)) { in test_lib()
114 myOPENSSL_init_crypto = (OPENSSL_init_crypto_t)symbols[0].func; in test_lib()
124 if (!sd_sym(ssllib, "TLS_method", &symbols[0].sym) in test_lib()
125 || !sd_sym(ssllib, "SSL_CTX_new", &symbols[1].sym) in test_lib()
126 || !sd_sym(ssllib, "SSL_CTX_free", &symbols[2].sym)) { in test_lib()
130 myTLS_method = (TLS_method_t)symbols[0].func; in test_lib()
131 mySSL_CTX_new = (SSL_CTX_new_t)symbols[1].func; in test_lib()
132 mySSL_CTX_free = (SSL_CTX_free_t)symbols[2].func; in test_lib()
141 if (!sd_sym(cryptolib, "ERR_get_error", &symbols[0].sym) in test_lib()
142 || !sd_sym(cryptolib, "OPENSSL_version_major", &symbols[1].sym) in test_lib()
143 || !sd_sym(cryptolib, "OPENSSL_version_minor", &symbols[2].sym) in test_lib()
144 || !sd_sym(cryptolib, "OPENSSL_version_patch", &symbols[3].sym) in test_lib()
145 || !sd_sym(cryptolib, "OPENSSL_atexit", &symbols[4].sym)) { in test_lib()
149 myERR_get_error = (ERR_get_error_t)symbols[0].func; in test_lib()
156 myOPENSSL_version_major = (OPENSSL_version_major_t)symbols[1].func; in test_lib()
157 myOPENSSL_version_minor = (OPENSSL_version_minor_t)symbols[2].func; in test_lib()
158 myOPENSSL_version_patch = (OPENSSL_version_patch_t)symbols[3].func; in test_lib()
166 myOPENSSL_atexit = (OPENSSL_atexit_t)symbols[4].func; in test_lib()
185 if (!sd_sym(cryptolib, "DSO_dsobyaddr", &symbols[0].sym) in test_lib()
186 || !sd_sym(cryptolib, "DSO_free", &symbols[1].sym)) { in test_lib()
191 myDSO_dsobyaddr = (DSO_dsobyaddr_t)symbols[0].func; in test_lib()
192 myDSO_free = (DSO_free_t)symbols[1].func; in test_lib()