fix build error under android o for boringssl
@@ -50,9 +50,11 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name)
#define BIO_meth_set_puts(bm, cb) ((bm)->bputs = cb)
#define BIO_meth_set_ctrl(bm, cb) ((bm)->ctrl = cb)
+#ifndef OPENSSL_IS_BORINGSSL
#define SSL_CTX_up_ref(ctx) CRYPTO_add(&(ctx)->references, 1, CRYPTO_LOCK_SSL_CTX)
#define X509_STORE_up_ref(store) CRYPTO_add(&(store)->references, 1, CRYPTO_LOCK_X509_STORE)
+#endif
#endif
