Warmcat homepage andy@warmcat.com
libwebsockets
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1752657155, "reponame":"openssl", "desc":"OpenSSL", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl", "f":3, "items": [ {"schema":"libjg2-1", "cid":"24a40413dbd1f5712b03be7f2968db20", "commit": {"type":"commit", "time": 1499378096, "time_ofs": 18446744073709551376, "oid_tree": { "oid": "af494d00ab192423438b4f04de53d3be86d877e4", "alias": []}, "oid":{ "oid": "1ef454181394b474ed590c551f659b4ce11aa093", "alias": []}, "msg": "Remove some now-unneeded VMS controls", "sig_commit": { "git_time": { "time": 1499378096, "offset": -240 }, "name": "Rich Salz", "email": "rsalz@openssl.org", "md5": "3ed6b9cf7bbe83902a044f6590346d26" }, "sig_author": { "git_time": { "time": 1499369315, "offset": -240 }, "name": "Rich Salz", "email": "rsalz@openssl.org", "md5": "3ed6b9cf7bbe83902a044f6590346d26" }}, "body": "Remove some now-unneeded VMS controls\n\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/3875)\n" , "diff": "diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c\nindex c60022c..4005f78 100644\n--- a/crypto/rand/randfile.c\n+++ b/crypto/rand/randfile.c\n@@ -48,23 +48,14 @@\n #endif\n \n #define RAND_FILE_SIZE 1024\n+#define RFILE \u0022.rnd\u0022\n \n #ifdef OPENSSL_SYS_VMS\n /*\n- * Misc hacks needed for specific cases.\n- *\n * __FILE_ptr32 is a type provided by DEC C headers (types.h specifically)\n * to make sure the FILE* is a 32-bit pointer no matter what. We know that\n- * stdio function return this type (a study of stdio.h proves it).\n- */\n-# if __INITIAL_POINTER_SIZE \u003d\u003d 64\n-# pragma pointer_size save\n-# pragma pointer_size 32\n-typedef char *char_ptr32;\n-# pragma pointer_size restore\n-# endif\n-\n-/*\n+ * stdio functions return this type (a study of stdio.h proves it).\n+ *\n * This declaration is a nasty hack to get around vms' extension to fopen for\n * passing in sharing options being disabled by /STANDARD\u003dANSI89\n */\n@@ -72,12 +63,9 @@ static __FILE_ptr32 (*const vms_fopen)(const char *, const char *, ...) \u003d\n (__FILE_ptr32 (*)(const char *, const char *, ...))fopen;\n # define VMS_OPEN_ATTRS \u005c\n \u0022shr\u003dget,put,upd,del\u0022,\u0022ctx\u003dbin,stm\u0022,\u0022rfm\u003dstm\u0022,\u0022rat\u003dnone\u0022,\u0022mrs\u003d0\u0022\n-\n-# define openssl_fopen(fname,mode) vms_fopen((fname), (mode), VMS_OPEN_ATTRS)\n+# define openssl_fopen(fname, mode) vms_fopen((fname), (mode), VMS_OPEN_ATTRS)\n #endif\n \n-#define RFILE \u0022.rnd\u0022\n-\n /*\n * Note that these functions are intended for seed files only. Entropy\n * devices and EGD sockets are handled in rand_unix.c If |bytes| is\n","s":{"c":1752657155,"u": 40721}} ],"g": 41580,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}