summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_pkey_dsa.c
diff options
context:
space:
mode:
-rw-r--r--ext/openssl/ossl_pkey_dsa.c8
1 files changed, 4 insertions, 4 deletions
@@ -26,7 +26,7 @@
static inline int
DSA_HAS_PRIVATE(DSA *dsa)
{
- BIGNUM *bn;
DSA_get0_key(dsa, NULL, &bn);
return !!bn;
}
@@ -280,7 +280,7 @@ static VALUE
ossl_dsa_is_public(VALUE self)
{
DSA *dsa;
- BIGNUM *bn;
GetDSA(self, dsa);
DSA_get0_key(dsa, &bn, NULL);
@@ -402,7 +402,7 @@ ossl_dsa_get_params(VALUE self)
{
DSA *dsa;
VALUE hash;
- BIGNUM *p, *q, *g, *pub_key, *priv_key;
GetDSA(self, dsa);
DSA_get0_pqg(dsa, &p, &q, &g);
@@ -509,7 +509,7 @@ static VALUE
ossl_dsa_sign(VALUE self, VALUE data)
{
DSA *dsa;
- BIGNUM *dsa_q;
unsigned int buf_len;
VALUE str;