title: SSL_CTX_new() hangs on ARM architecture
body: <p>I am working on a cross-compile project, implementing an HTTPS connection. My code builds and runs fine in the <code>qemu-arm</code> emulator, but when running on the actual hardware, it hangs on <code>SSL_CTX_new</code>.</p>
  <p>This is the code I use to initialise my SSL context:</p>
  <pre><code>SSL_CTX *_https_initialise_context() {
      const SSL_METHOD *method;
      SSL_CTX *_ctx;
      OpenSSL_add_all_algorithms();
      SSL_load_error_strings();
  
      method = TLS_client_method();
      // This is where the program hangs
      _ctx = SSL_CTX_new(method);
  
      if (_ctx == NULL) {
          ERR_print_errors_fp(stderr);
          abort();
      }
  
      return _ctx;
  }
  </code></pre>
  <p>The device the code is running on is old, and does not have a lot of resources (32M RAM, running on a 192MHz ARM processor), but when checking <code>top</code>, the process does not seem to be CPU bound. (it stays at 0% CPU and 13% RAM)</p>
  <p>Is TLS too much for this device, or could I update my code to get this running?</p>