summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-11 12:14:08 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-11 12:14:08 +0000
commit48fabd83144c31107d519f89473ca6b0f7ffa2b3 (patch)
treedc0e8a4efba1f474533461fabc6c2b3a4924ff30
parenta63275b68e9f0467fdc8609a5f6c63253e025827 (diff)
Garbage collect historical setting of dsa->write_params = 1.
This is always 1 with modern libs and write_params will soon go away.
-rw-r--r--lib/libkeynote/signature.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libkeynote/signature.c b/lib/libkeynote/signature.c
index dd96bdb47f2..0f428827776 100644
--- a/lib/libkeynote/signature.c
+++ b/lib/libkeynote/signature.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signature.c,v 1.27 2021/11/24 04:32:52 tb Exp $ */
+/* $OpenBSD: signature.c,v 1.28 2022/01/11 12:14:07 tb Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -1176,7 +1176,6 @@ kn_encode_key(struct keynote_deckey *dc, int iencoding,
return NULL;
}
- dsa->write_params = 1;
if (keytype == KEYNOTE_PUBLIC_KEY)
i2d_DSAPublicKey(dsa, (unsigned char **) &foo);
else