aboutsummaryrefslogtreecommitdiff
path: root/contrib/pgcrypto/pgp.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pgcrypto/pgp.c')
-rw-r--r--contrib/pgcrypto/pgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgcrypto/pgp.c b/contrib/pgcrypto/pgp.c
index 059c04af8f1..027b467d554 100644
--- a/contrib/pgcrypto/pgp.c
+++ b/contrib/pgcrypto/pgp.c
@@ -224,7 +224,7 @@ pgp_free(PGP_Context *ctx)
{
if (ctx->pub_key)
pgp_key_free(ctx->pub_key);
- memset(ctx, 0, sizeof *ctx);
+ px_memset(ctx, 0, sizeof *ctx);
px_free(ctx);
return 0;
}