sergev / LiteBSD

Variant of 4.4BSD Unix for microcontrollers
Other
308 stars 36 forks source link

Introduce OpenSSL 1.0.2e, the latest version of the 1.0.2 branch. #32

Closed ibara closed 8 years ago

ibara commented 8 years ago

Place this in lib/libcrypto, as is customary. Note that libssl is part of this build. I don't see a reason to separate them (yet?). This commit only brings the code in and hooks it up to the build. It does not place OpenSSL on the sdcard, as OpenSSL does not yet have any consumers. It will soon, as the BSD-licensed version of dc(1) that all the projects use depends on OpenSSL. I will introduce OpenSSL to the sdcard when dc(1) is committed.

(This is too large to just commit on my own, so making a pull request.)

sergev commented 8 years ago

Hi Brian, As I can see, the only part of libcrypto needed for dc(1) is bignum library - lib/libcrypto/crypto/bn. In all other aspects the libcrypto itself looks too fat to be useful on LiteBSD/ Don't you think it makes sense to move the bn subdirectory to usr.bin/dc and remove lib/libcrypto completely?

ibara commented 8 years ago

Only if we could guarantee that we'd never ever have any software (in base or ports) that won't use any other part of libcrypto. That seems very unlikely to me.

Otherwise we're just adding extra work to keeping the bn stuff updated in tandem but separately to the rest of libcrypto.

sergev commented 8 years ago

That's true... OK, let it be then. In Debian, I've counted 720 packages dependent on libssl (which includes libcrypto).