X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=crypto%2FLPdir_vms.c;h=362918dae3797125fa4fa25f64c9ae7c51f4c125;hb=a8eda4312db1f98cffda38670e2d40d36566785a;hp=1e8f9e7d61117614125dc240f3732d450b111cb1;hpb=b4faea50c35d92a67d1369355b49cc3efba78406;p=openssl.git diff --git a/crypto/LPdir_vms.c b/crypto/LPdir_vms.c index 1e8f9e7d61..362918dae3 100644 --- a/crypto/LPdir_vms.c +++ b/crypto/LPdir_vms.c @@ -109,7 +109,7 @@ const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) errno = ENOMEM; return 0; } - memset(*ctx, '\0', sizeof(**ctx)); + memset(*ctx, 0, sizeof(**ctx)); strcpy((*ctx)->filespec, directory); strcat((*ctx)->filespec, "*.*;");