---
title: errSecOCSPBadResponse
framework: security
role: symbol
role_heading: Global Variable
path: security/errsecocspbadresponse
---

# errSecOCSPBadResponse

The online certificate status protocol (OCSP) response is incorrect or cannot be parsed.

## Declaration

```swift
var errSecOCSPBadResponse: OSStatus { get }
```
