From: Richard Levitte Date: Mon, 25 Sep 2006 08:35:35 +0000 (+0000) Subject: Complete the change for VMS. X-Git-Tag: OpenSSL_0_9_8k^2~1125 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0709249f4c5cf7cf5891353d9d4b12355f4e3d4c;p=oweals%2Fopenssl.git Complete the change for VMS. --- diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index 11e9c1ec0a..098e868199 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -357,7 +357,7 @@ static int get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name, { char c = '/'; #ifdef OPENSSL_SYS_VMS - c = ent->dir[strlen(ctx->dirs[i])-1]; + c = ent->dir[strlen(ent->dir)-1]; if (c != ':' && c != '>' && c != ']') { /* If no separator is present, we assume the