All, I'm porting a large multi-threaded SSL-enabled application from Unix to VMS. This is the first time that I've used OpenSSL on VMS, and I have a couple of questions related to OpenSSL on VMS that I'd appreciate some input on. The Unix version is currently working OK on multiple platforms (linux, AIX, Tru64, Solaris) using OpenSSL 0.9.7g, and I'm using the same version on VMS (builds OK). I'm using VMS 7.1 on Alpha and MultiNet 4.2 Rev A (neither of which can be changed due to customer requirements).
(1) I currently obtain sockets by doing an $ASSIGN to INET0:. I assume that these sockets cannot be passed to SSL_set_fd(), since they are VMS channel numbers. At least, I can't get it to work, even if dividing them by CHANNELSIZE. Do I need to assign to BG0: instead? (2) I see that OpenSSL makes extensive use of select(). Under MultiNet, I do not use multinet_select() because it is not thread safe (I've tried it, and I've seen the source). Instead I use my own selection routine (which calls IO$_SELECT). BTW, the UCX version of select() appears to work properly in a multi-threaded environment. This seems to indicate that OpenSSL cannot be used with MultiNet in a threaded environment (unless I change the OpenSSL source to use my own selection routine). Is this true? TMIA, Steve ---------------------------------------------------------------------------- Steve Thompson E-mail: [EMAIL PROTECTED] Voyager Software LLC Web: http://www.vgersoft.com 39 Smugglers Path VSW Support: [EMAIL PROTECTED] Ithaca, NY 14850 "186,300 miles per second: it's not just a good idea, it's the law" ---------------------------------------------------------------------------- ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
