Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
dvob committed Jul 28, 2024
1 parent 9d7cea0 commit aa8a6c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit aa8a6c5

Please sign in to comment.