Complete the change for VMS.
authorRichard Levitte <levitte@openssl.org>
Mon, 25 Sep 2006 08:35:35 +0000 (08:35 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 25 Sep 2006 08:35:35 +0000 (08:35 +0000)
crypto/x509/by_dir.c

index 11e9c1e..098e868 100644 (file)
@@ -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