def guess_contains_libcrypt(lines):
    """Tries to determine if a file includes libgcrypt
    """
    for line in lines:
        if 'fork detection failed' in line:
            return 1
        if 'too many random bits requested' in line:
            return 1
        if 'severe error getting random' in line:
            return 1
    return 0
