doc: use /* ... */ comments in code examples
authorBeat Bolli <dev@drbeat.li>
Mon, 3 Apr 2017 17:52:33 +0000 (19:52 +0200)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Jun 2017 10:54:16 +0000 (11:54 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1956)

doc/man3/BIO_s_bio.pod
doc/man3/CRYPTO_THREAD_run_once.pod

index c3ed1397a7c8a840374cf1c80ccf2516c74aafe7..dfafa351e480c42e101225673c02487b69b59069 100644 (file)
@@ -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
index 072790dc3123575ca6b0b9ac3c9f7207afe5ae56..9a4df1992c0e7b3cfbd835b6bd22bca8a28d3926 100644 (file)
@@ -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