aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509/by_dir.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2006-09-25 08:35:35 +0000
committerRichard Levitte <levitte@openssl.org>2006-09-25 08:35:35 +0000
commit0709249f4c5cf7cf5891353d9d4b12355f4e3d4c (patch)
tree165000aa411b322dde379ba7378d40a21922045f /crypto/x509/by_dir.c
parent89c9c6673688e7b954a1c3ef71f129c857a7db19 (diff)
downloadopenssl-0709249f4c5cf7cf5891353d9d4b12355f4e3d4c.tar.gz
Complete the change for VMS.
Diffstat (limited to 'crypto/x509/by_dir.c')
-rw-r--r--crypto/x509/by_dir.c2
1 files changed, 1 insertions, 1 deletions
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