Merge changes from topic "supplicant-cert-crash" into udc-dev

* changes:
  Pass current EAP state machine to BIO_from_keystore().
  Move tls_data and tls_connection struct declarations to before BIO_from_keystore.