X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Frand%2Frand_vms.c;h=d798f55e495cff234d3d1902b7c9e5b3c0a59e65;hp=13d913bc282ec144e3c404f4939cfe658db4a7df;hb=b27ed819431fb7f50ded6fcddfd25de079d7e808;hpb=705536e2b5c4167dbda2e0046d83f9e0f4a65514 diff --git a/crypto/rand/rand_vms.c b/crypto/rand/rand_vms.c index 13d913bc28..d798f55e49 100644 --- a/crypto/rand/rand_vms.c +++ b/crypto/rand/rand_vms.c @@ -9,34 +9,33 @@ #include "e_os.h" -#if defined(OPENSSL_SYS_VMS) -# define __NEW_STARLET 1 /* New starlet definitions since VMS 7.0 */ -# include -# include "internal/cryptlib.h" -# include -# include "crypto/rand.h" -# include "rand_local.h" -# include -# include -# include -# include -# include -# include -# include -# include -# include -# include -# include -# include -# ifdef __DECC -# pragma message disable DOLLARID -# endif - -# include /* SYS$GET_ENTROPY presence */ - -# ifndef OPENSSL_RAND_SEED_OS -# error "Unsupported seeding method configured; must be os" -# endif +#define __NEW_STARLET 1 /* New starlet definitions since VMS 7.0 */ +#include +#include "internal/cryptlib.h" +#include +#include "crypto/rand.h" +#include "rand_local.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef __DECC +# pragma message disable DOLLARID +#endif + +#include /* SYS$GET_ENTROPY presence */ + +#ifndef OPENSSL_RAND_SEED_OS +# error "Unsupported seeding method configured; must be os" +#endif /* * DATA COLLECTION METHOD @@ -48,14 +47,14 @@ */ /* We need to make sure we have the right size pointer in some cases */ -# if __INITIAL_POINTER_SIZE == 64 -# pragma pointer_size save -# pragma pointer_size 32 -# endif +#if __INITIAL_POINTER_SIZE == 64 +# pragma pointer_size save +# pragma pointer_size 32 +#endif typedef uint32_t *uint32_t__ptr32; -# if __INITIAL_POINTER_SIZE == 64 -# pragma pointer_size restore -# endif +#if __INITIAL_POINTER_SIZE == 64 +# pragma pointer_size restore +#endif struct item_st { short length, code; /* length is number of bytes */ @@ -613,5 +612,3 @@ void rand_pool_cleanup(void) void rand_pool_keep_random_devices_open(int keep) { } - -#endif