Skip to content

Commit

Permalink
improve port_dsa.c description
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Sep 3, 2024
1 parent da6c23d commit 3f800cf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions port_dsa.c
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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,
Expand Down

0 comments on commit 3f800cf

Please sign in to comment.