Home | History | Annotate | Download | only in x509

Lines Matching defs:dir

84 	char *dir;
102 static int add_cert_dir(BY_DIR *ctx,const char *dir,int type);
129 char *dir = NULL;
138 dir=(char *)getenv(X509_get_default_cert_dir_env());
139 if (dir)
140 ret=add_cert_dir(ld,dir,X509_FILETYPE_PEM);
189 if (ent->dir)
190 OPENSSL_free(ent->dir);
208 static int add_cert_dir(BY_DIR *ctx, const char *dir, int type)
213 if (dir == NULL || !*dir)
219 s=dir;
233 if (strlen(ent->dir) == (size_t)len &&
234 strncmp(ent->dir,ss,(unsigned int)len) == 0)
253 ent->dir = OPENSSL_malloc((unsigned int)len+1);
254 if (!ent->dir || !ent->hashes)
259 strncpy(ent->dir,ss,(unsigned int)len);
260 ent->dir[len] = '\0';
332 j=strlen(ent->dir)+1+8+6+1+1;
364 c = ent->dir[strlen(ent->dir)-1];
385 "%s%08lx.%s%d",ent->dir,h,
391 "%s%c%08lx.%s%d",ent->dir,c,h,