aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'ossl_digest.c')
-rw-r--r--ossl_digest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ossl_digest.c b/ossl_digest.c
index cdec7f2..caca95b 100644
--- a/ossl_digest.c
+++ b/ossl_digest.c
@@ -90,7 +90,7 @@ ossl_digest_copy(VALUE self, VALUE other)
SafeGetDigest(other, ctx2);
if (!EVP_MD_CTX_copy(ctx1, ctx2)) {
- ossl_raise(eDigestError, "");
+ ossl_raise(eDigestError, NULL);
}
return self;
}
@@ -124,7 +124,7 @@ digest_final(EVP_MD_CTX *ctx, char **buf, int *buf_len)
EVP_MD_CTX final;
if (!EVP_MD_CTX_copy(&final, ctx)) {
- ossl_raise(eDigestError, "");
+ ossl_raise(eDigestError, NULL);
}
if (!(*buf = OPENSSL_malloc(EVP_MD_CTX_size(&final)))) {
ossl_raise(eDigestError, "Cannot allocate mem for digest");