summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/doc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/doc')
-rw-r--r--src/lib/libssl/src/doc/apps/ca.pod8
-rw-r--r--src/lib/libssl/src/doc/apps/s_client.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/BIO_f_base64.pod5
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_CTX_set_verify.pod6
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_CTX_use_certificate.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_accept.pod3
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_connect.pod3
7 files changed, 17 insertions, 14 deletions
diff --git a/src/lib/libssl/src/doc/apps/ca.pod b/src/lib/libssl/src/doc/apps/ca.pod
index de66c534b5..74f45ca2f9 100644
--- a/src/lib/libssl/src/doc/apps/ca.pod
+++ b/src/lib/libssl/src/doc/apps/ca.pod
@@ -359,7 +359,7 @@ the same as the B<-md> option. The message digest to use. Mandatory.
359the text database file to use. Mandatory. This file must be present 359the text database file to use. Mandatory. This file must be present
360though initially it will be empty. 360though initially it will be empty.
361 361
362=item B<serialfile> 362=item B<serial>
363 363
364a text file containing the next serial number to use in hex. Mandatory. 364a text file containing the next serial number to use in hex. Mandatory.
365This file must be present and contain a valid serial number. 365This file must be present and contain a valid serial number.
@@ -400,7 +400,7 @@ here, except the B<no_signame> and B<no_sigdump> are permanently set
400and cannot be disabled (this is because the certificate signature cannot 400and cannot be disabled (this is because the certificate signature cannot
401be displayed because the certificate has not been signed at this point). 401be displayed because the certificate has not been signed at this point).
402 402
403For convenience the values B<default_ca> are accepted by both to produce 403For convenience the values B<ca_default> are accepted by both to produce
404a reasonable output. 404a reasonable output.
405 405
406If neither option is present the format used in earlier versions of 406If neither option is present the format used in earlier versions of
@@ -513,8 +513,8 @@ A sample configuration file with the relevant sections for B<ca>:
513 policy = policy_any # default policy 513 policy = policy_any # default policy
514 email_in_dn = no # Don't add the email into cert DN 514 email_in_dn = no # Don't add the email into cert DN
515 515
516 nameopt = default_ca # Subject name display option 516 nameopt = ca_default # Subject name display option
517 certopt = default_ca # Certificate display option 517 certopt = ca_default # Certificate display option
518 copy_extensions = none # Don't copy extensions from request 518 copy_extensions = none # Don't copy extensions from request
519 519
520 [ policy_any ] 520 [ policy_any ]
diff --git a/src/lib/libssl/src/doc/apps/s_client.pod b/src/lib/libssl/src/doc/apps/s_client.pod
index 47dc93cb3f..d061326c1f 100644
--- a/src/lib/libssl/src/doc/apps/s_client.pod
+++ b/src/lib/libssl/src/doc/apps/s_client.pod
@@ -168,7 +168,7 @@ command for more information.
168 168
169send the protocol-specific message(s) to switch to TLS for communication. 169send the protocol-specific message(s) to switch to TLS for communication.
170B<protocol> is a keyword for the intended protocol. Currently, the only 170B<protocol> is a keyword for the intended protocol. Currently, the only
171supported keyword is "smtp". 171supported keywords are "smtp" and "pop3".
172 172
173=item B<-engine id> 173=item B<-engine id>
174 174
diff --git a/src/lib/libssl/src/doc/crypto/BIO_f_base64.pod b/src/lib/libssl/src/doc/crypto/BIO_f_base64.pod
index fdb603b38e..929557d22f 100644
--- a/src/lib/libssl/src/doc/crypto/BIO_f_base64.pod
+++ b/src/lib/libssl/src/doc/crypto/BIO_f_base64.pod
@@ -55,16 +55,15 @@ to standard output:
55Read Base64 encoded data from standard input and write the decoded 55Read Base64 encoded data from standard input and write the decoded
56data to standard output: 56data to standard output:
57 57
58 BIO *bio, *b64, bio_out; 58 BIO *bio, *b64, *bio_out;
59 char inbuf[512]; 59 char inbuf[512];
60 int inlen; 60 int inlen;
61 char message[] = "Hello World \n";
62 61
63 b64 = BIO_new(BIO_f_base64()); 62 b64 = BIO_new(BIO_f_base64());
64 bio = BIO_new_fp(stdin, BIO_NOCLOSE); 63 bio = BIO_new_fp(stdin, BIO_NOCLOSE);
65 bio_out = BIO_new_fp(stdout, BIO_NOCLOSE); 64 bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
66 bio = BIO_push(b64, bio); 65 bio = BIO_push(b64, bio);
67 while((inlen = BIO_read(bio, inbuf, strlen(message))) > 0) 66 while((inlen = BIO_read(bio, inbuf, 512) > 0)
68 BIO_write(bio_out, inbuf, inlen); 67 BIO_write(bio_out, inbuf, inlen);
69 68
70 BIO_free_all(bio); 69 BIO_free_all(bio);
diff --git a/src/lib/libssl/src/doc/ssl/SSL_CTX_set_verify.pod b/src/lib/libssl/src/doc/ssl/SSL_CTX_set_verify.pod
index 74f05301ec..81566839d3 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_CTX_set_verify.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_CTX_set_verify.pod
@@ -135,9 +135,9 @@ process is immediately stopped with "verification failed" state. If
135SSL_VERIFY_PEER is set, a verification failure alert is sent to the peer and 135SSL_VERIFY_PEER is set, a verification failure alert is sent to the peer and
136the TLS/SSL handshake is terminated. If B<verify_callback> returns 1, 136the TLS/SSL handshake is terminated. If B<verify_callback> returns 1,
137the verification process is continued. If B<verify_callback> always returns 137the verification process is continued. If B<verify_callback> always returns
1381, the TLS/SSL handshake will never be terminated because of this application 1381, the TLS/SSL handshake will not be terminated with respect to verification
139experiencing a verification failure. The calling process can however 139failures and the connection will be established. The calling process can
140retrieve the error code of the last verification error using 140however retrieve the error code of the last verification error using
141L<SSL_get_verify_result(3)|SSL_get_verify_result(3)> or by maintaining its 141L<SSL_get_verify_result(3)|SSL_get_verify_result(3)> or by maintaining its
142own error storage managed by B<verify_callback>. 142own error storage managed by B<verify_callback>.
143 143
diff --git a/src/lib/libssl/src/doc/ssl/SSL_CTX_use_certificate.pod b/src/lib/libssl/src/doc/ssl/SSL_CTX_use_certificate.pod
index b8868f18bf..ea2faba3ec 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_CTX_use_certificate.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_CTX_use_certificate.pod
@@ -68,7 +68,9 @@ should be preferred.
68 68
69SSL_CTX_use_certificate_chain_file() loads a certificate chain from 69SSL_CTX_use_certificate_chain_file() loads a certificate chain from
70B<file> into B<ctx>. The certificates must be in PEM format and must 70B<file> into B<ctx>. The certificates must be in PEM format and must
71be sorted starting with the certificate to the highest level (root CA). 71be sorted starting with the subject's certificate (actual client or server
72certificate), followed by intermediate CA certificates if applicable, and
73ending at the highest level (root) CA.
72There is no corresponding function working on a single SSL object. 74There is no corresponding function working on a single SSL object.
73 75
74SSL_CTX_use_PrivateKey() adds B<pkey> as private key to B<ctx>. 76SSL_CTX_use_PrivateKey() adds B<pkey> as private key to B<ctx>.
diff --git a/src/lib/libssl/src/doc/ssl/SSL_accept.pod b/src/lib/libssl/src/doc/ssl/SSL_accept.pod
index a673edba85..cc724c0d56 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_accept.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_accept.pod
@@ -28,7 +28,8 @@ should be called again.
28 28
29If the underlying BIO is B<non-blocking>, SSL_accept() will also return 29If the underlying BIO is B<non-blocking>, SSL_accept() will also return
30when the underlying BIO could not satisfy the needs of SSL_accept() 30when the underlying BIO could not satisfy the needs of SSL_accept()
31to continue the handshake. In this case a call to SSL_get_error() with the 31to continue the handshake, indicating the problem by the return value -1.
32In this case a call to SSL_get_error() with the
32return value of SSL_accept() will yield B<SSL_ERROR_WANT_READ> or 33return value of SSL_accept() will yield B<SSL_ERROR_WANT_READ> or
33B<SSL_ERROR_WANT_WRITE>. The calling process then must repeat the call after 34B<SSL_ERROR_WANT_WRITE>. The calling process then must repeat the call after
34taking appropriate action to satisfy the needs of SSL_accept(). 35taking appropriate action to satisfy the needs of SSL_accept().
diff --git a/src/lib/libssl/src/doc/ssl/SSL_connect.pod b/src/lib/libssl/src/doc/ssl/SSL_connect.pod
index 8426310c0d..cc56ebb75f 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_connect.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_connect.pod
@@ -25,7 +25,8 @@ handshake has been finished or an error occurred.
25 25
26If the underlying BIO is B<non-blocking>, SSL_connect() will also return 26If the underlying BIO is B<non-blocking>, SSL_connect() will also return
27when the underlying BIO could not satisfy the needs of SSL_connect() 27when the underlying BIO could not satisfy the needs of SSL_connect()
28to continue the handshake. In this case a call to SSL_get_error() with the 28to continue the handshake, indicating the problem by the return value -1.
29In this case a call to SSL_get_error() with the
29return value of SSL_connect() will yield B<SSL_ERROR_WANT_READ> or 30return value of SSL_connect() will yield B<SSL_ERROR_WANT_READ> or
30B<SSL_ERROR_WANT_WRITE>. The calling process then must repeat the call after 31B<SSL_ERROR_WANT_WRITE>. The calling process then must repeat the call after
31taking appropriate action to satisfy the needs of SSL_connect(). 32taking appropriate action to satisfy the needs of SSL_connect().