2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 1996-2009 Oracle. All rights reserved.
14 * __crypto_region_init --
19 * We don't put this stub file in the crypto/ directory of the distribution
20 * because that entire directory is removed for non-crypto distributions.
22 * PUBLIC: int __crypto_region_init __P((ENV *));
25 __crypto_region_init(env)
33 renv = infop->primary;
34 MUTEX_LOCK(env, renv->mtx_regenv);
35 ret = !(renv->cipher_off == INVALID_ROFF);
36 MUTEX_UNLOCK(env, renv->mtx_regenv);
42 "Encrypted environment: library build did not include cryptography support");