aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/simplessl.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/simplessl.c')
-rw-r--r--docs/examples/simplessl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/simplessl.c b/docs/examples/simplessl.c
index 7ad35237c..77da32d08 100644
--- a/docs/examples/simplessl.c
+++ b/docs/examples/simplessl.c
@@ -95,7 +95,7 @@ int main(int argc, char **argv)
/* sorry, for engine we must set the passphrase
(if the key has one...) */
if (pPassphrase)
- curl_easy_setopt(curl,CURLOPT_SSLKEYPASSWD,pPassphrase);
+ curl_easy_setopt(curl,CURLOPT_KEYPASSWD,pPassphrase);
/* if we use a key stored in a crypto engine,
we must set the key type to "ENG" */