projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a couple of 'Parameters' comment sections
[privoxy.git]
/
openssl.c
diff --git
a/openssl.c
b/openssl.c
index
30ecfe3
..
67ce1ad
100644
(file)
--- a/
openssl.c
+++ b/
openssl.c
@@
-106,7
+106,7
@@
static void openssl_init(void)
* or has not yet been sent by the remote end.
*
* Parameters :
* or has not yet been sent by the remote end.
*
* Parameters :
- * 1 : ssl = SSL context to test
+ * 1 : ssl
_attr
= SSL context to test
*
* Returns : 0 => No data are pending
* >0 => Pending data length
*
* Returns : 0 => No data are pending
* >0 => Pending data length
@@
-132,7
+132,7
@@
extern size_t is_ssl_pending(struct ssl_attr *ssl_attr)
* connection context.
*
* Parameters :
* connection context.
*
* Parameters :
- * 1 : ssl = SSL context to send data to
+ * 1 : ssl
_attr
= SSL context to send data to
* 2 : buf = Pointer to data to be sent
* 3 : len = Length of data to be sent to the SSL context
*
* 2 : buf = Pointer to data to be sent
* 3 : len = Length of data to be sent to the SSL context
*
@@
-186,7
+186,7
@@
extern int ssl_send_data(struct ssl_attr *ssl_attr, const unsigned char *buf, si
* it into buffer.
*
* Parameters :
* it into buffer.
*
* Parameters :
- * 1 : ssl = SSL context to receive data from
+ * 1 : ssl
_attr
= SSL context to receive data from
* 2 : buf = Pointer to buffer where data will be written
* 3 : max_length = Maximum number of bytes to read
*
* 2 : buf = Pointer to buffer where data will be written
* 3 : max_length = Maximum number of bytes to read
*
@@
-1515,7
+1515,7
@@
static int ssl_certificate_is_invalid(const char *cert_file)
* 1 : cert = The certificate to modify
* 2 : issuer = Issuer certificate
* 3 : nid = OpenSSL NID
* 1 : cert = The certificate to modify
* 2 : issuer = Issuer certificate
* 3 : nid = OpenSSL NID
- *
2 : data
= extension value
+ *
4 : value
= extension value
*
* Returns : 0 => Error while setting extensuon data
* 1 => It worked
*
* Returns : 0 => Error while setting extensuon data
* 1 => It worked
@@
-1560,7
+1560,7
@@
exit:
* Parameters :
* 1 : cert = The certificate to modify
* 2 : issuer = Issuer certificate
* Parameters :
* 1 : cert = The certificate to modify
* 2 : issuer = Issuer certificate
- *
2
: hostname = The hostname to add
+ *
3
: hostname = The hostname to add
*
* Returns : 0 => Error while creating certificate.
* 1 => It worked
*
* Returns : 0 => Error while creating certificate.
* 1 => It worked