static int drbg_status(void)
{
    DRBG_CTX *dctx = RAND_DRBG_get_default();
    int ret;
    CRYPTO_THREAD_write_lock(dctx->lock);
    ret = dctx->status == DRBG_STATUS_READY ? 1 : 0;
    CRYPTO_THREAD_unlock(dctx->lock);
    return ret;
}
['static int drbg_status(void)\n{\n    DRBG_CTX *dctx = RAND_DRBG_get_default();\n    int ret;\n    CRYPTO_THREAD_write_lock(dctx->lock);\n    ret = dctx->status == DRBG_STATUS_READY ? 1 : 0;\n    CRYPTO_THREAD_unlock(dctx->lock);\n    return ret;\n}', 'DRBG_CTX *RAND_DRBG_get_default(void)\n{\n    if (!RUN_ONCE(&ossl_drbg_init, do_ossl_drbg_init))\n        return NULL;\n    return &ossl_drbg;\n}', 'int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void))\n{\n    if (pthread_once(once, init) != 0)\n        return 0;\n    return 1;\n}']