summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBeat Bolli <dev@drbeat.li>2017-04-03 19:52:33 +0200
committerMatt Caswell <matt@openssl.org>2017-06-08 11:54:16 +0100
commit95dd5fb21427d32272e05ce94d0769d55861fc8b (patch)
tree79cb37e1caf4b6f0839f563c07659f4948da217b /doc
parentd42e7759f5a6be55345dc9410d98b3ccf6330d3f (diff)
doc: use /* ... */ comments in code examples
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1956)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/BIO_s_bio.pod2
-rw-r--r--doc/man3/CRYPTO_THREAD_run_once.pod4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/man3/BIO_s_bio.pod b/doc/man3/BIO_s_bio.pod
index c3ed1397a7..dfafa351e4 100644
--- a/doc/man3/BIO_s_bio.pod
+++ b/doc/man3/BIO_s_bio.pod
@@ -144,7 +144,7 @@ without having to go through the SSL-interface.
...
BIO_new_bio_pair(&internal_bio, 0, &network_bio, 0);
SSL_set_bio(ssl, internal_bio, internal_bio);
- SSL_operations(); //e.g SSL_read and SSL_write
+ SSL_operations(); /* e.g SSL_read and SSL_write */
...
application | TLS-engine
diff --git a/doc/man3/CRYPTO_THREAD_run_once.pod b/doc/man3/CRYPTO_THREAD_run_once.pod
index 072790dc31..9a4df1992c 100644
--- a/doc/man3/CRYPTO_THREAD_run_once.pod
+++ b/doc/man3/CRYPTO_THREAD_run_once.pod
@@ -149,9 +149,9 @@ You can find out if OpenSSL was configured with thread support:
#include <openssl/opensslconf.h>
#if defined(OPENSSL_THREADS)
- // thread support enabled
+ /* thread support enabled */
#else
- // no thread support
+ /* no thread support */
#endif
=head1 SEE ALSO