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 11e9c1ec0a953ed92bb90df0b71d64ae119a43d8..098e86819935d8911b84ed956aeb099112649046 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