]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - ssl/ssl_cert.c
VMS support.
[thirdparty/openssl.git] / ssl / ssl_cert.c
index 9bfa3ecf2e18af4f3a191f4b87ad4e5b0eac065e..3e5eba76056ee3db69c9d3fd806f536fd7f8e660 100644 (file)
 #include <stdio.h>
 #include <sys/types.h>
 #ifndef WIN32
+#ifndef VMS
 #include <dirent.h>
 #endif
+#endif
 #include <openssl/objects.h>
 #include <openssl/bio.h>
 #include <openssl/pem.h>
@@ -640,6 +642,7 @@ err:
  */
 
 #ifndef WIN32
+#ifndef VMS                    /* XXXX This may be fixed in the future */
 
 int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack,
                                       const char *dir)
@@ -673,3 +676,4 @@ int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack,
     }
 
 #endif
+#endif