X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2FLPdir_vms.c;h=1a5b60febfbc81ca4388f15b59369fdee64ffc83;hb=6db7d0153abdaaf73afa518f6bb643e4f423a3a8;hp=1e8f9e7d61117614125dc240f3732d450b111cb1;hpb=b4faea50c35d92a67d1369355b49cc3efba78406;p=oweals%2Fopenssl.git diff --git a/crypto/LPdir_vms.c b/crypto/LPdir_vms.c index 1e8f9e7d61..1a5b60febf 100644 --- a/crypto/LPdir_vms.c +++ b/crypto/LPdir_vms.c @@ -1,3 +1,12 @@ +/* + * Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* * Copyright (c) 2004, Richard Levitte * All rights reserved. @@ -109,7 +118,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, "*.*;");