diff options
Diffstat (limited to 'ossl_pkey_dsa.c')
-rw-r--r-- | ossl_pkey_dsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ossl_pkey_dsa.c b/ossl_pkey_dsa.c index 7a69cdc..bca45f2 100644 --- a/ossl_pkey_dsa.c +++ b/ossl_pkey_dsa.c @@ -326,7 +326,7 @@ ossl_dsa_verify(VALUE self, VALUE digest, VALUE sig) StringValue(digest); StringValue(sig); - ret = DSA_verify(0, RSTRING(digest)->ptr, RSTRING(digest)->len, RSTRING(sig)->ptr, RSTRING(sig)->len, pkey->pkey.dsa); /*type = 0*/ + ret = DSA_verify(0, RSTRING(digest)->ptr, RSTRING(digest)->len, RSTRING(sig)->ptr, RSTRING(sig)->len, pkey->pkey.dsa); /* type is ignored (0) */ if (ret < 0) { OSSL_Raise(eDSAError, ""); |