crypto.lsp and openssl for win32

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Locked
Cyril
Posts: 183
Joined: Tue Oct 30, 2007 6:27 pm
Location: Moscow, Russia
Contact:

crypto.lsp and openssl for win32

Post by 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!

Code: Select all

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

Code: Select all

C:\...ril Slobin\My Documents\Download>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!

Locked