Hi,

i recently build libressl 2.0.1 and nginx+libressl
and noticed  some major differences in filesizes,
compared to a recent build of openssl (openssl and
libressl both statically compiled into nginx-binary)


- nginx + openssl:  13570k
- nginx + libressl: 18887k

when checking the include-files and openssl-binaries:

~~~
# libressl
-rw-r----- 1 ngx ngx 14803k Jul 14 22:02 libcrypto.a
-rw-r----- 1 ngx ngx  3341k Jul 14 22:02 libssl.a

# openssl
-rw-r--r-- 1 ngx ngx 4281k Jun 10 17:00 libcrypto.a
-rw-r--r-- 1 ngx ngx  722k Jun 10 17:00 libssl.a

# ls -lak /usr/bin/openssl*
-rwxr-xr-x 1 root root 1975k Jul 12 22:22 /usr/bin/openssl.libressl
-rwxr-xr-x 1 root root  510k Jun 15 13:36 /usr/bin/openssl.openssl

~~~

why is lib*.a and the openssl-binary itself 3-4 x bigger than
it's openssl-counterpart?


just wondering.


regards,


markus

Reply via email to