diff options
Diffstat (limited to 'examples/client')
| -rw-r--r-- | examples/client/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/client/client.go b/examples/client/client.go index 402e8f6..30a0a9b 100644 --- a/examples/client/client.go +++ b/examples/client/client.go @@ -28,7 +28,7 @@ func init() { // Alert the user that the certificate is not trusted fmt.Printf("Warning: Certificate for %s is not trusted!\n", hostname) fmt.Println("This could indicate a Man-in-the-Middle attack.") - case gemini.ErrCertificateUnknown: + case gemini.ErrUnknownCertificate: // Prompt the user to trust the certificate trust := trustCertificate(cert) switch trust { |