aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509/by_dir.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-06-23 21:49:21 +0000
committerRichard Levitte <levitte@openssl.org>2005-06-23 21:49:21 +0000
commit816f74d1c7b36de22f0a88870cc6968dac2dc26e (patch)
treed849c2d154226a8f14d9645cd4b8203879c727b9 /crypto/x509/by_dir.c
parentec14c80c7cd4949af0b2d85e4bd2952d22c1707f (diff)
downloadopenssl-816f74d1c7b36de22f0a88870cc6968dac2dc26e.tar.gz
Initialise dir to avoid a compiler warning.
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 d56679177b..b4a21716f2 100644
--- a/crypto/x509/by_dir.c
+++ b/crypto/x509/by_dir.c
@@ -114,7 +114,7 @@ static int dir_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl,
{
int ret=0;
BY_DIR *ld;
- char *dir;
+ char *dir = NULL;
ld=(BY_DIR *)ctx->method_data;