We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32a6f2b commit 3589cbdCopy full SHA for 3589cbd
openssl/src/pkey_ctx.rs
@@ -958,6 +958,19 @@ mod test {
958
ctx.keygen().unwrap();
959
}
960
961
+ #[test]
962
+ #[cfg(not(boringssl))]
963
+ fn dsa_paramgen() {
964
+ let mut ctx = PkeyCtx::new_id(Id::DSA).unwrap();
965
+ ctx.paramgen_init().unwrap();
966
+ ctx.set_dsa_paramgen_bits(2048).unwrap();
967
+ let params = ctx.paramgen().unwrap();
968
+ #[cfg(not(awslc))]
969
+ assert_eq!(params.size(), 64);
970
+ #[cfg(awslc)]
971
+ assert_eq!(params.size(), 72);
972
+ }
973
+
974
#[test]
975
#[cfg(any(ossl110, boringssl, libressl360, awslc))]
976
fn hkdf() {
0 commit comments