title: OpenSSL Static Library too big, any alternative or way to reduce its size?
body: <p>I have used pre-build static libs of OpenSSL 1.0, but it makes my binary too big, (increase its size by about 800Kb in release mode).</p>
  
  <p>I do not need most of the feature of OpenSSL such as BIO, I use my own sockets, therefore in the code I am only using a couple of SSL_XXXXXXXXX calls(SSL_accept(3) or SSL_connect(3), SSL_read(3) and SSL_write(3))</p>
  
  <p>My only requirement is support SSLv2/v3 with winsock on windows, and sockets on linux for both client and server side (for C++)</p>
  
  <p>Is there anyway to make OpenSSL much smaller (maybe by compiling it myself) or, in last resort, any other good but more lightwight SSL library that meet my requirements? The lib must be linked staticly.</p>
  
  <p>Thanks you</p>