Skip to content

Commit 952693f

Browse files
committed
Expose alg field on PublicKey
1 parent dd54046 commit 952693f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rcgen/src/csr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use crate::{DistinguishedName, SanType};
1616
#[derive(Debug, PartialEq, Eq, Hash)]
1717
pub struct PublicKey {
1818
raw: Vec<u8>,
19-
alg: &'static SignatureAlgorithm,
19+
pub alg: &'static SignatureAlgorithm,
2020
}
2121

2222
impl PublicKeyData for PublicKey {

0 commit comments

Comments
 (0)