peters / curl-for-windows

An unofficial mirror of the curl library with support for static linking on Windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No asm for openssl?

BarkyTheDog opened this issue · comments

Judging from the performance of RSA encryption/decryption using the version of OpenSLL that this system builds, it seems that asm code is not being used. Inspection of the preprocessor symbols in the VS project reveals a "NO_ASM" macro.

Is it possible to configure/build openssl with the assembler code paths enabled?

I have access to a pre-built openssl binary, which the provider says was built with NASM, and it's significantly faster. But, I'd prefer the nicely integrated curl/openssl/zlib/ssh2 solution your sytem provides...

Is it possible to configure/build openssl with the assembler code paths enabled?

Yes, it's possible by looking at:
https://github.com/peters/curl-for-windows/blob/master/openssl.gyp#L808

I disabled it because i did not have the time to make it work. A PR would be most welcome since
i do not have the time at the moment to fix it.