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 d9fa658 commit 1911fd0Copy full SHA for 1911fd0
openssl/src/pkey_ctx.rs
@@ -960,11 +960,15 @@ mod test {
960
961
#[test]
962
#[cfg(not(boringssl))]
963
- fn dsa_paramgen() {
+ fn dsa_keygen() {
964
let mut ctx = PkeyCtx::new_id(Id::DSA).unwrap();
965
ctx.paramgen_init().unwrap();
966
ctx.set_dsa_paramgen_bits(2048).unwrap();
967
- ctx.paramgen().unwrap();
+ let params = ctx.paramgen().unwrap();
968
+
969
+ let mut key_ctx = PkeyCtx::new(¶ms).unwrap();
970
+ key_ctx.keygen_init().unwrap();
971
+ key_ctx.keygen().unwrap();
972
}
973
974
0 commit comments