Hi I'm using Open SSL on HP NonStop (Tandem) systems. We have built a DLL containing the OpenSSL code and that works fine.
However I now want to use a limited set of functions from privileged (kernel mode) code. The rules for this environment is that you can't call library functions or have any global data. I have addressed the former issue by creating another DLL that provides implementations of or unimplemented stubs for the library routines called by OpenSSL. Although I haven't done an exhaustive search I have found a couple of places where Open SSL code defines global data. I plan to assess these and use an ifdef to suppress the global data definitions or replace them with alternatives. We actually only require a few functions in the kernel mode components... RSA_private_decrypt HMAC PEM_read_PrivateKey EVP_DecryptInit_ex EVP_DecryptUpdate EVP_DecryptFinal_ex EVP_EncryptInit_ex EVP_EncryptUpdate EVP_EncryptFinal_ex So our usage is limited. Does anyone have any advise on how to proceed and would it be possible to get the changes folded back into the official source code, I'm using 0.9.8e? Thanks Paul Carlton Neoview R&D Mobile: +44 (0)7768 994283 EMail: [EMAIL PROTECTED] Hewlett-Packard Limited registered Office: Cain Road, Bracknell, Berks RG12 1HN Registered No: 690597 England The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as "HP CONFIDENTIAL".