Skip to content

Commit

Permalink
Fix error compatibility alias
Browse files Browse the repository at this point in the history
In #167, the error type was renamed from RcgenError to rcgen::Error.
Make sure the compatiblity alias uses the correct name.
  • Loading branch information
g2p committed Oct 27, 2023
1 parent 2d09fd3 commit a2c7dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rcgen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Unreleased

- Rename `RcGenError` to `Error` to avoid stuttering when used fully-qualified via `rcgen::`.
- Rename `RcgenError` to `Error` to avoid stuttering when used fully-qualified via `rcgen::`.
- Upgrade to `ring` `v0.17`.

## Release 0.11.3 - October 1, 2023
Expand Down
2 changes: 1 addition & 1 deletion rcgen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub use crate::sign_algo::SignatureAlgorithm;
#[deprecated(
note = "Renamed to `Error`. We recommend to refer to it by fully-qualifying the crate: `rcgen::Error`."
)]
pub type RcGenError = Error;
pub type RcgenError = Error;

/// A self signed certificate together with signing keys
pub struct Certificate {
Expand Down

0 comments on commit a2c7dad

Please sign in to comment.