mirror of
https://github.com/curl/curl.git
synced 2026-07-15 19:27:17 +03:00
gtls: fix for builds lacking encrypted key file support
Bug: https://github.com/curl/curl/pull/651
This commit is contained in:
parent
0443187611
commit
078753c40d
1 changed files with 4 additions and 4 deletions
|
|
@ -684,11 +684,11 @@ 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
|
||||
failf(data, "gnutls lacks support for encrypted key files");
|
||||
return CURLE_SSL_CONNECT_ERROR;
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
rc = gnutls_certificate_set_x509_key_file(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue