diff options
Diffstat (limited to 'src/lib/libssl')
| -rw-r--r-- | src/lib/libssl/src/apps/ca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/src/apps/ca.c b/src/lib/libssl/src/apps/ca.c index 616c3720d2..c6cd4c9aa9 100644 --- a/src/lib/libssl/src/apps/ca.c +++ b/src/lib/libssl/src/apps/ca.c | |||
| @@ -832,8 +832,8 @@ bad: | |||
| 832 | perror(outdir); | 832 | perror(outdir); |
| 833 | goto err; | 833 | goto err; |
| 834 | } | 834 | } |
| 835 | #ifdef S_IFDIR | 835 | #ifdef S_ISDIR |
| 836 | if (!(sb.st_mode & S_IFDIR)) | 836 | if (!S_ISDIR(sb.st_mode)) |
| 837 | { | 837 | { |
| 838 | BIO_printf(bio_err,"%s need to be a directory\n",outdir); | 838 | BIO_printf(bio_err,"%s need to be a directory\n",outdir); |
| 839 | perror(outdir); | 839 | perror(outdir); |
