diff options
Diffstat (limited to 'contrib/pgcrypto/openssl.c')
-rw-r--r-- | contrib/pgcrypto/openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgcrypto/openssl.c b/contrib/pgcrypto/openssl.c index 68fd61b716f..53e64297c28 100644 --- a/contrib/pgcrypto/openssl.c +++ b/contrib/pgcrypto/openssl.c @@ -209,13 +209,13 @@ px_find_digest(const char *name, PX_MD **res) if (!ctx) { pfree(digest); - return -1; + return PXE_CIPHER_INIT; } if (EVP_DigestInit_ex(ctx, md, NULL) == 0) { EVP_MD_CTX_destroy(ctx); pfree(digest); - return -1; + return PXE_CIPHER_INIT; } digest->algo = md; |