---
title: errSSLPeerAuthCompleted
framework: security
role: symbol
role_heading: Global Variable
path: security/errsslpeerauthcompleted
---

# errSSLPeerAuthCompleted

A non-fatal result indicating the peer certificate is valid, or was ignored if verification is disabled.

## Declaration

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

## Discussion

Discussion The peer’s certificate chain is valid, or was ignored if certificate verification was disabled via SSLSetEnableCertVerify. In response, you may decide to continue with the handshake (by calling SSLHandshake(_:) again) or just close the connection.
