Skip to content

Commit 3f800cf

Browse files
committed
improve port_dsa.c description
1 parent da6c23d commit 3f800cf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

port_dsa.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
// The following is a partial backport of crypto/dsa/dsa_pmeth.c,
2-
// commit cbc8a839959418d8a2c2e3ec6bdf394852c9501e on the
3-
// OpenSSL_1_1_0-stable branch. The ctrl function has been removed.
1+
// The following is a partial backport of crypto/dsa/dsa_lockl.h
2+
// and crypto/dsa/dsa_lib.c, commit cbc8a839959418d8a2c2e3ec6bdf394852c9501e
3+
// on the OpenSSL_1_1_0-stable branch. Only pqg and key getters/setters
4+
// are backported.
45

56
#include "goopenssl.h"
67

@@ -14,6 +15,8 @@ struct dsa_st
1415
GO_BIGNUM_PTR g;
1516
GO_BIGNUM_PTR pub_key;
1617
GO_BIGNUM_PTR priv_key;
18+
// The following members are not used by our backport,
19+
// so we don't define them here.
1720
};
1821

1922
void go_openssl_DSA_get0_pqg_backport(const GO_DSA_PTR dsa,

0 commit comments

Comments
 (0)