From 0709249f4c5cf7cf5891353d9d4b12355f4e3d4c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 25 Sep 2006 08:35:35 +0000 Subject: [PATCH] Complete the change for VMS. --- crypto/x509/by_dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1