summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dsa/dsa.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-02-18 12:50:59 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-02-18 12:50:59 +0000
commit6b393a4ed1a430fda3ff7f3b54a6005532878d8b (patch)
tree1d8f4f31db7d45e182a51dc8131bceeb3536d75a /lib/libcrypto/dsa/dsa.h
parenta3da3261ad36fb98f48dd47768dd7dd1f1f8c121 (diff)
Provide DSA_set0_pqg.
ok jsing
Diffstat (limited to 'lib/libcrypto/dsa/dsa.h')
-rw-r--r--lib/libcrypto/dsa/dsa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/dsa/dsa.h b/lib/libcrypto/dsa/dsa.h
index 608c15df6b2..21e5baa235e 100644
--- a/lib/libcrypto/dsa/dsa.h
+++ b/lib/libcrypto/dsa/dsa.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa.h,v 1.24 2018/02/17 14:35:40 jsing Exp $ */
+/* $OpenBSD: dsa.h,v 1.25 2018/02/18 12:50:58 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -259,6 +259,7 @@ DH *DSA_dup_DH(const DSA *r);
void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q,
const BIGNUM **g);
+int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key);
#define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \