]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl.h: remove incorrect comment about CURLOPT_PINNEDPUBLICKEY
authorDaniel Stenberg <daniel@haxx.se>
Fri, 17 Oct 2025 15:55:15 +0000 (17:55 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 17 Oct 2025 20:23:12 +0000 (22:23 +0200)
Bug: https://curl.se/mail/lib-2025-10/0018.html
Reported-by: curl.stunt430
Closes #19105

include/curl/curl.h

index 49552558ddb742941eb3ec94a0c75a34565c93a2..917b10142000a8b24252bfd5f2ca0b40903147d6 100644 (file)
@@ -1953,8 +1953,7 @@ typedef enum {
   /* Pass in a bitmask of "header options" */
   CURLOPT(CURLOPT_HEADEROPT, CURLOPTTYPE_VALUES, 229),
 
-  /* The public key in DER form used to validate the peer public key
-     this option is used only if SSL_VERIFYPEER is true */
+  /* The public key used to validate the peer public key */
   CURLOPT(CURLOPT_PINNEDPUBLICKEY, CURLOPTTYPE_STRINGPOINT, 230),
 
   /* Path to Unix domain socket */