private static void checkNative()

in src/main/java/org/apache/commons/crypto/random/OpenSslCryptoRandom.java [64:71]


    private static void checkNative() throws GeneralSecurityException {
        if (!nativeEnabled) {
            if (initException != null) {
                throw new GeneralSecurityException("Native library could not be initialized", initException);
            }
            throw new GeneralSecurityException("Native library is not loaded");
        }
    }