Added CA_CANONICAL_DEPRECATED check