title: SSL Context Methods - Generic vs Server/Client
body: <p>When you create a SSL_CTX, using the function SSL_CTX_new, you need to pass as argument a method, as per the documentation:</p>
  
  <p><a href="https://www.openssl.org/docs/ssl/SSL_CTX_new.html" rel="nofollow">https://www.openssl.org/docs/ssl/SSL_CTX_new.html</a></p>
  
  <p>All methods have three variations: generic, client and server.</p>
  
  <p>For example, you have TLSv1_method, TLSv1_server_method, TLSv1_client_method.</p>
  
  <p>My questions are: when should I use the specific (client/server) methods? What are they good for? Can I always exchange then with the generic method?</p>