Loading apps/apps.c +1 −1 Original line number Diff line number Diff line Loading @@ -2192,7 +2192,7 @@ double app_tminterval(int stop, int usertime) return ret; } #elif defined(OPENSSL_SYSTEM_VXWORKS) #elif defined(OPENSSL_SYS_VXWORKS) # include <time.h> double app_tminterval(int stop, int usertime) Loading apps/ocsp.c +14 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,20 @@ NON_EMPTY_TRANSLATION_UNIT # define LOG_ERR 2 # endif # if defined(OPENSSL_SYS_VXWORKS) /* not supported */ int setpgid(pid_t pid, pid_t pgid) { errno = ENOSYS; return 0; } /* not supported */ pid_t fork(void) { errno = ENOSYS; return (pid_t) -1; } # endif /* Maximum leeway in validity period: default 5 minutes */ # define MAX_VALIDITY_PERIOD (5 * 60) Loading apps/rehash.c +20 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,26 @@ # endif # define MAX_COLLISIONS 256 # if defined(OPENSSL_SYS_VXWORKS) /* * VxWorks has no symbolic links */ # define lstat(path, buf) stat(path, buf) int symlink(const char *target, const char *linkpath) { errno = ENOSYS; return -1; } ssize_t readlink(const char *pathname, char *buf, size_t bufsiz) { errno = ENOSYS; return -1; } # endif typedef struct hentry_st { struct hentry_st *next; char *filename; Loading apps/speed.c +3 −3 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ #include <openssl/modes.h> #ifndef HAVE_FORK # if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_WINDOWS) # if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_VXWORKS) # define HAVE_FORK 0 # else # define HAVE_FORK 1 Loading crypto/bio/b_addr.c +5 −0 Original line number Diff line number Diff line Loading @@ -782,7 +782,12 @@ int BIO_lookup_ex(const char *host, const char *service, int lookup_type, * anyway [above getaddrinfo/gai_strerror is]. We just let * system administrator figure this out... */ # if defined(OPENSSL_SYS_VXWORKS) /* h_errno doesn't exist on VxWorks */ SYSerr(SYS_F_GETHOSTBYNAME, 1000 ); # else SYSerr(SYS_F_GETHOSTBYNAME, 1000 + h_errno); # endif #else SYSerr(SYS_F_GETHOSTBYNAME, WSAGetLastError()); #endif Loading Loading
apps/apps.c +1 −1 Original line number Diff line number Diff line Loading @@ -2192,7 +2192,7 @@ double app_tminterval(int stop, int usertime) return ret; } #elif defined(OPENSSL_SYSTEM_VXWORKS) #elif defined(OPENSSL_SYS_VXWORKS) # include <time.h> double app_tminterval(int stop, int usertime) Loading
apps/ocsp.c +14 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,20 @@ NON_EMPTY_TRANSLATION_UNIT # define LOG_ERR 2 # endif # if defined(OPENSSL_SYS_VXWORKS) /* not supported */ int setpgid(pid_t pid, pid_t pgid) { errno = ENOSYS; return 0; } /* not supported */ pid_t fork(void) { errno = ENOSYS; return (pid_t) -1; } # endif /* Maximum leeway in validity period: default 5 minutes */ # define MAX_VALIDITY_PERIOD (5 * 60) Loading
apps/rehash.c +20 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,26 @@ # endif # define MAX_COLLISIONS 256 # if defined(OPENSSL_SYS_VXWORKS) /* * VxWorks has no symbolic links */ # define lstat(path, buf) stat(path, buf) int symlink(const char *target, const char *linkpath) { errno = ENOSYS; return -1; } ssize_t readlink(const char *pathname, char *buf, size_t bufsiz) { errno = ENOSYS; return -1; } # endif typedef struct hentry_st { struct hentry_st *next; char *filename; Loading
apps/speed.c +3 −3 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ #include <openssl/modes.h> #ifndef HAVE_FORK # if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_WINDOWS) # if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_VXWORKS) # define HAVE_FORK 0 # else # define HAVE_FORK 1 Loading
crypto/bio/b_addr.c +5 −0 Original line number Diff line number Diff line Loading @@ -782,7 +782,12 @@ int BIO_lookup_ex(const char *host, const char *service, int lookup_type, * anyway [above getaddrinfo/gai_strerror is]. We just let * system administrator figure this out... */ # if defined(OPENSSL_SYS_VXWORKS) /* h_errno doesn't exist on VxWorks */ SYSerr(SYS_F_GETHOSTBYNAME, 1000 ); # else SYSerr(SYS_F_GETHOSTBYNAME, 1000 + h_errno); # endif #else SYSerr(SYS_F_GETHOSTBYNAME, WSAGetLastError()); #endif Loading