artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
437dba6
)
Convert openssl(1) gendsa.c to opaque DSA
author
tb
<tb@openbsd.org>
Fri, 14 Jan 2022 09:25:00 +0000
(09:25 +0000)
committer
tb
<tb@openbsd.org>
Fri, 14 Jan 2022 09:25:00 +0000
(09:25 +0000)
ok inoguchi jsing
usr.bin/openssl/gendsa.c
patch
|
blob
|
history
diff --git
a/usr.bin/openssl/gendsa.c
b/usr.bin/openssl/gendsa.c
index
fff0053
..
6d69957
100644
(file)
--- a/
usr.bin/openssl/gendsa.c
+++ b/
usr.bin/openssl/gendsa.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: gendsa.c,v 1.1
4 2019/07/24 14:23:25 inoguchi
Exp $ */
+/* $OpenBSD: gendsa.c,v 1.1
5 2022/01/14 09:25:00 tb
Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-278,7
+278,7
@@
gendsa_main(int argc, char **argv)
}
BIO_printf(bio_err, "Generating DSA key, %d bits\n",
- BN_num_bits(
dsa->p
));
+ BN_num_bits(
DSA_get0_p(dsa)
));
if (!DSA_generate_key(dsa))
goto end;