From aa8a6c586e3834c6fbdca9360e3a4f9165740f11 Mon Sep 17 00:00:00 2001 From: David Schneider Date: Sun, 28 Jul 2024 11:37:20 +0200 Subject: [PATCH] Fix example --- example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_test.go b/example_test.go index e2c8797..8ce4f46 100644 --- a/example_test.go +++ b/example_test.go @@ -81,7 +81,7 @@ func ExampleCreateWithKeyOptions() { Size: 4096, } - certDER, key, err := CreateWithKeyOptions(cert, keyOptions, nil, nil) + certDER, key, err := CreateCertificateWithKeyOptions(cert, keyOptions, nil, nil) if err != nil { log.Fatal(err) }