crypto.lsp and openssl for win32

Started by Cyril, September 29, 2008, 06:05:11 AM

Previous topic - Next topic

Cyril

OpenSSL is not a part of standard Windows distribution, but it is often installed by some or another open-source application. In fact I don't even know which application is responsible for the opensll library on my Windows box! ;-) And the crypto.lsp module works with it almost out of the box: you need only to add the library location to the list. That's all!


   "/usr/lib/libcrypto.dylib"
    "c:/windows/system32/libeay32.dll"
))  


Testing:


C:...ril SlobinMy DocumentsDownload>newlisp crypto.lsp
newLISP v.9.9.4 on Win32 IPv4, execute 'newlisp -h' for more info.

> (crypto:md5 "ABC")
"902fbdd2b1df0c4f70b4a5d23525e932"


Maybe it is worth to add this one line to the crypto.lsp module in standard distribution?
With newLISP you can grow your lists from the right side!