diff --git a/port_dsa.c b/port_dsa.c index 58cf2295..5a948eaf 100644 --- a/port_dsa.c +++ b/port_dsa.c @@ -1,6 +1,7 @@ -// The following is a partial backport of crypto/dsa/dsa_pmeth.c, -// commit cbc8a839959418d8a2c2e3ec6bdf394852c9501e on the -// OpenSSL_1_1_0-stable branch. The ctrl function has been removed. +// The following is a partial backport of crypto/dsa/dsa_lockl.h +// and crypto/dsa/dsa_lib.c, commit cbc8a839959418d8a2c2e3ec6bdf394852c9501e +// on the OpenSSL_1_1_0-stable branch. Only pqg and key getters/setters +// are backported. #include "goopenssl.h" @@ -14,6 +15,8 @@ struct dsa_st GO_BIGNUM_PTR g; GO_BIGNUM_PTR pub_key; GO_BIGNUM_PTR priv_key; + // The following members are not used by our backport, + // so we don't define them here. }; void go_openssl_DSA_get0_pqg_backport(const GO_DSA_PTR dsa,