From 2a27603f6a635b8a02be8bda599074b176b80ef1 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 18 Feb 2018 12:50:58 +0000 Subject: Provide DSA_set0_pqg. ok jsing --- src/lib/libcrypto/dsa/dsa.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/dsa/dsa.h') diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h index 608c15df6b..21e5baa235 100644 --- a/src/lib/libcrypto/dsa/dsa.h +++ b/src/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) \ -- cgit v1.2.3-55-g6feb