Commit 078753c4 authored by Shine Fan's avatar Shine Fan Committed by Jay Satiro
Browse files

gtls: fix for builds lacking encrypted key file support

parent 04431876
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -684,12 +684,12 @@ gtls_connect_step1(struct connectdata *conn,
              "error reading X.509 potentially-encrypted key file: %s",
              gnutls_strerror(rc));
        return CURLE_SSL_CONNECT_ERROR;
      }
#else
      failf(data, "gnutls lacks support for encrypted key files");
      return CURLE_SSL_CONNECT_ERROR;
#endif
    }
    }
    else {
      rc = gnutls_certificate_set_x509_key_file(
           conn->ssl[sockindex].cred,