summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcrypto/man/ASN1_OBJECT_new.34
-rw-r--r--lib/libcrypto/man/ASN1_STRING_length.34
-rw-r--r--lib/libcrypto/man/ASN1_STRING_new.34
-rw-r--r--lib/libcrypto/man/ASN1_STRING_print_ex.34
-rw-r--r--lib/libcrypto/man/ASN1_generate_nconf.34
-rw-r--r--lib/libcrypto/man/BF_set_key.34
-rw-r--r--lib/libcrypto/man/BIO.34
-rw-r--r--lib/libcrypto/man/BIO_ctrl.34
-rw-r--r--lib/libcrypto/man/BIO_f_base64.34
-rw-r--r--lib/libcrypto/man/BIO_f_cipher.34
-rw-r--r--lib/libcrypto/man/BIO_f_md.36
-rw-r--r--lib/libcrypto/man/BIO_f_null.34
-rw-r--r--lib/libcrypto/man/BIO_find_type.320
-rw-r--r--lib/libcrypto/man/BIO_new.34
-rw-r--r--lib/libcrypto/man/BIO_push.34
-rw-r--r--lib/libcrypto/man/BIO_read.36
-rw-r--r--lib/libcrypto/man/BIO_s_accept.34
-rw-r--r--lib/libcrypto/man/BIO_s_bio.36
-rw-r--r--lib/libcrypto/man/BIO_s_connect.34
-rw-r--r--lib/libcrypto/man/BIO_s_fd.36
-rw-r--r--lib/libcrypto/man/BIO_s_file.34
-rw-r--r--lib/libcrypto/man/BIO_s_mem.34
-rw-r--r--lib/libcrypto/man/BIO_s_null.34
-rw-r--r--lib/libcrypto/man/BIO_s_socket.34
-rw-r--r--lib/libcrypto/man/BIO_set_callback.34
-rw-r--r--lib/libcrypto/man/BIO_should_retry.34
-rw-r--r--lib/libcrypto/man/BN_BLINDING_new.36
-rw-r--r--lib/libcrypto/man/BN_CTX_new.34
-rw-r--r--lib/libcrypto/man/BN_CTX_start.34
-rw-r--r--lib/libcrypto/man/BN_add.34
-rw-r--r--lib/libcrypto/man/BN_add_word.34
-rw-r--r--lib/libcrypto/man/BN_bn2bin.34
-rw-r--r--lib/libcrypto/man/BN_cmp.34
-rw-r--r--lib/libcrypto/man/BN_copy.34
-rw-r--r--lib/libcrypto/man/BN_generate_prime.34
-rw-r--r--lib/libcrypto/man/BN_mod_inverse.34
-rw-r--r--lib/libcrypto/man/BN_mod_mul_montgomery.34
-rw-r--r--lib/libcrypto/man/BN_mod_mul_reciprocal.34
-rw-r--r--lib/libcrypto/man/BN_new.34
-rw-r--r--lib/libcrypto/man/BN_num_bytes.34
-rw-r--r--lib/libcrypto/man/BN_rand.34
-rw-r--r--lib/libcrypto/man/BN_set_bit.34
-rw-r--r--lib/libcrypto/man/BN_swap.34
-rw-r--r--lib/libcrypto/man/BN_zero.34
-rw-r--r--lib/libcrypto/man/BUF_MEM_new.36
-rw-r--r--lib/libcrypto/man/CONF_modules_free.36
-rw-r--r--lib/libcrypto/man/CONF_modules_load_file.34
-rw-r--r--lib/libcrypto/man/CRYPTO_set_ex_data.34
-rw-r--r--lib/libcrypto/man/CRYPTO_set_locking_callback.34
-rw-r--r--lib/libcrypto/man/DES_set_key.34
-rw-r--r--lib/libcrypto/man/DH_generate_key.34
-rw-r--r--lib/libcrypto/man/DH_generate_parameters.34
-rw-r--r--lib/libcrypto/man/DH_get_ex_new_index.34
-rw-r--r--lib/libcrypto/man/DH_new.34
-rw-r--r--lib/libcrypto/man/DH_set_method.310
-rw-r--r--lib/libcrypto/man/DH_size.36
-rw-r--r--lib/libcrypto/man/DSA_SIG_new.34
-rw-r--r--lib/libcrypto/man/DSA_do_sign.34
-rw-r--r--lib/libcrypto/man/DSA_dup_DH.36
-rw-r--r--lib/libcrypto/man/DSA_generate_key.36
-rw-r--r--lib/libcrypto/man/DSA_generate_parameters.36
-rw-r--r--lib/libcrypto/man/DSA_get_ex_new_index.34
-rw-r--r--lib/libcrypto/man/DSA_new.34
-rw-r--r--lib/libcrypto/man/DSA_set_method.310
-rw-r--r--lib/libcrypto/man/DSA_sign.34
-rw-r--r--lib/libcrypto/man/DSA_size.36
-rw-r--r--lib/libcrypto/man/ECDSA_SIG_new.34
-rw-r--r--lib/libcrypto/man/EC_GFp_simple_method.34
-rw-r--r--lib/libcrypto/man/EC_GROUP_copy.34
-rw-r--r--lib/libcrypto/man/EC_GROUP_new.34
-rw-r--r--lib/libcrypto/man/EC_KEY_new.34
-rw-r--r--lib/libcrypto/man/EC_POINT_add.34
-rw-r--r--lib/libcrypto/man/EC_POINT_new.34
-rw-r--r--lib/libcrypto/man/ERR.34
-rw-r--r--lib/libcrypto/man/ERR_GET_LIB.34
-rw-r--r--lib/libcrypto/man/ERR_clear_error.34
-rw-r--r--lib/libcrypto/man/ERR_error_string.34
-rw-r--r--lib/libcrypto/man/ERR_get_error.34
-rw-r--r--lib/libcrypto/man/ERR_load_crypto_strings.34
-rw-r--r--lib/libcrypto/man/ERR_load_strings.311
-rw-r--r--lib/libcrypto/man/ERR_print_errors.34
-rw-r--r--lib/libcrypto/man/ERR_put_error.34
-rw-r--r--lib/libcrypto/man/ERR_remove_state.36
-rw-r--r--lib/libcrypto/man/ERR_set_mark.34
-rw-r--r--lib/libcrypto/man/EVP_BytesToKey.34
-rw-r--r--lib/libcrypto/man/EVP_DigestInit.36
-rw-r--r--lib/libcrypto/man/EVP_DigestSignInit.34
-rw-r--r--lib/libcrypto/man/EVP_DigestVerifyInit.34
-rw-r--r--lib/libcrypto/man/EVP_EncryptInit.37
-rw-r--r--lib/libcrypto/man/EVP_OpenInit.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_CTX_ctrl.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_CTX_new.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_cmp.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_decrypt.36
-rw-r--r--lib/libcrypto/man/EVP_PKEY_derive.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_encrypt.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_get_default_digest.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_keygen.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_new.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_print_private.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_set1_RSA.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_sign.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_verify.34
-rw-r--r--lib/libcrypto/man/EVP_PKEY_verify_recover.34
-rw-r--r--lib/libcrypto/man/EVP_SealInit.34
-rw-r--r--lib/libcrypto/man/EVP_SignInit.34
-rw-r--r--lib/libcrypto/man/EVP_VerifyInit.34
-rw-r--r--lib/libcrypto/man/HMAC.34
-rw-r--r--lib/libcrypto/man/MD5.34
-rw-r--r--lib/libcrypto/man/OBJ_nid2obj.34
-rw-r--r--lib/libcrypto/man/OPENSSL_VERSION_NUMBER.36
-rw-r--r--lib/libcrypto/man/OPENSSL_config.34
-rw-r--r--lib/libcrypto/man/OPENSSL_load_builtin_modules.36
-rw-r--r--lib/libcrypto/man/OpenSSL_add_all_algorithms.34
-rw-r--r--lib/libcrypto/man/PEM_read_bio_PrivateKey.34
-rw-r--r--lib/libcrypto/man/PEM_write_bio_PKCS7_stream.34
-rw-r--r--lib/libcrypto/man/PKCS12_create.34
-rw-r--r--lib/libcrypto/man/PKCS12_parse.34
-rw-r--r--lib/libcrypto/man/PKCS5_PBKDF2_HMAC.34
-rw-r--r--lib/libcrypto/man/PKCS7_decrypt.36
-rw-r--r--lib/libcrypto/man/PKCS7_encrypt.34
-rw-r--r--lib/libcrypto/man/PKCS7_sign.36
-rw-r--r--lib/libcrypto/man/PKCS7_sign_add_signer.36
-rw-r--r--lib/libcrypto/man/PKCS7_verify.34
-rw-r--r--lib/libcrypto/man/RAND_add.34
-rw-r--r--lib/libcrypto/man/RAND_bytes.34
-rw-r--r--lib/libcrypto/man/RAND_cleanup.34
-rw-r--r--lib/libcrypto/man/RAND_load_file.34
-rw-r--r--lib/libcrypto/man/RAND_set_rand_method.34
-rw-r--r--lib/libcrypto/man/RC4.34
-rw-r--r--lib/libcrypto/man/RIPEMD160.34
-rw-r--r--lib/libcrypto/man/RSA_blinding_on.34
-rw-r--r--lib/libcrypto/man/RSA_check_key.36
-rw-r--r--lib/libcrypto/man/RSA_generate_key.36
-rw-r--r--lib/libcrypto/man/RSA_get_ex_new_index.34
-rw-r--r--lib/libcrypto/man/RSA_new.34
-rw-r--r--lib/libcrypto/man/RSA_padding_add_PKCS1_type_1.34
-rw-r--r--lib/libcrypto/man/RSA_print.34
-rw-r--r--lib/libcrypto/man/RSA_private_encrypt.34
-rw-r--r--lib/libcrypto/man/RSA_public_encrypt.37
-rw-r--r--lib/libcrypto/man/RSA_set_method.310
-rw-r--r--lib/libcrypto/man/RSA_sign.34
-rw-r--r--lib/libcrypto/man/RSA_sign_ASN1_OCTET_STRING.34
-rw-r--r--lib/libcrypto/man/RSA_size.36
-rw-r--r--lib/libcrypto/man/SHA1.34
-rw-r--r--lib/libcrypto/man/SMIME_read_PKCS7.37
-rw-r--r--lib/libcrypto/man/SMIME_write_PKCS7.34
-rw-r--r--lib/libcrypto/man/UI_new.38
-rw-r--r--lib/libcrypto/man/X509_NAME_ENTRY_get_object.34
-rw-r--r--lib/libcrypto/man/X509_NAME_add_entry_by_txt.34
-rw-r--r--lib/libcrypto/man/X509_NAME_get_index_by_NID.34
-rw-r--r--lib/libcrypto/man/X509_NAME_print_ex.34
-rw-r--r--lib/libcrypto/man/X509_STORE_CTX_get_error.34
-rw-r--r--lib/libcrypto/man/X509_STORE_CTX_get_ex_new_index.34
-rw-r--r--lib/libcrypto/man/X509_STORE_CTX_new.34
-rw-r--r--lib/libcrypto/man/X509_STORE_CTX_set_verify_cb.34
-rw-r--r--lib/libcrypto/man/X509_STORE_set_verify_cb_func.34
-rw-r--r--lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.34
-rw-r--r--lib/libcrypto/man/X509_new.34
-rw-r--r--lib/libcrypto/man/X509_verify_cert.34
-rw-r--r--lib/libcrypto/man/bn.32
-rw-r--r--lib/libcrypto/man/crypto.34
-rw-r--r--lib/libcrypto/man/d2i_ASN1_OBJECT.34
-rw-r--r--lib/libcrypto/man/d2i_DHparams.34
-rw-r--r--lib/libcrypto/man/d2i_DSAPublicKey.36
-rw-r--r--lib/libcrypto/man/d2i_ECPKParameters.34
-rw-r--r--lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.34
-rw-r--r--lib/libcrypto/man/d2i_RSAPublicKey.34
-rw-r--r--lib/libcrypto/man/d2i_X509.34
-rw-r--r--lib/libcrypto/man/d2i_X509_ALGOR.34
-rw-r--r--lib/libcrypto/man/d2i_X509_CRL.34
-rw-r--r--lib/libcrypto/man/d2i_X509_NAME.34
-rw-r--r--lib/libcrypto/man/d2i_X509_REQ.34
-rw-r--r--lib/libcrypto/man/d2i_X509_SIG.34
-rw-r--r--lib/libcrypto/man/des_read_pw.34
-rw-r--r--lib/libcrypto/man/dh.36
-rw-r--r--lib/libcrypto/man/dsa.34
-rw-r--r--lib/libcrypto/man/ec.34
-rw-r--r--lib/libcrypto/man/engine.331
-rw-r--r--lib/libcrypto/man/evp.34
-rw-r--r--lib/libcrypto/man/i2d_PKCS7_bio_stream.34
-rw-r--r--lib/libcrypto/man/lh_new.34
-rw-r--r--lib/libcrypto/man/lh_stats.34
-rw-r--r--lib/libcrypto/man/rsa.34
-rw-r--r--lib/libcrypto/man/x509.34
185 files changed, 620 insertions, 249 deletions
diff --git a/lib/libcrypto/man/ASN1_OBJECT_new.3 b/lib/libcrypto/man/ASN1_OBJECT_new.3
index 526e1d869bf..9c73dcb0ce7 100644
--- a/lib/libcrypto/man/ASN1_OBJECT_new.3
+++ b/lib/libcrypto/man/ASN1_OBJECT_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: March 12 2016 $
+.\" $OpenBSD: ASN1_OBJECT_new.3,v 1.4 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ASN1_OBJECT_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ASN1_STRING_length.3 b/lib/libcrypto/man/ASN1_STRING_length.3
index 190cd811228..1fa794fc466 100644
--- a/lib/libcrypto/man/ASN1_STRING_length.3
+++ b/lib/libcrypto/man/ASN1_STRING_length.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: ASN1_STRING_length.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ASN1_STRING_LENGTH 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ASN1_STRING_new.3 b/lib/libcrypto/man/ASN1_STRING_new.3
index 00968f49952..5810d5a15f9 100644
--- a/lib/libcrypto/man/ASN1_STRING_new.3
+++ b/lib/libcrypto/man/ASN1_STRING_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: ASN1_STRING_new.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ASN1_STRING_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ASN1_STRING_print_ex.3 b/lib/libcrypto/man/ASN1_STRING_print_ex.3
index f7dc70bf4ce..75a07a0b6e3 100644
--- a/lib/libcrypto/man/ASN1_STRING_print_ex.3
+++ b/lib/libcrypto/man/ASN1_STRING_print_ex.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: ASN1_STRING_print_ex.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ASN1_STRING_PRINT_EX 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ASN1_generate_nconf.3 b/lib/libcrypto/man/ASN1_generate_nconf.3
index f92afece23d..1fd7f38d263 100644
--- a/lib/libcrypto/man/ASN1_generate_nconf.3
+++ b/lib/libcrypto/man/ASN1_generate_nconf.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: ASN1_generate_nconf.3,v 1.5 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ASN1_GENERATE_NCONF 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BF_set_key.3 b/lib/libcrypto/man/BF_set_key.3
index 5b45ce8b57a..5eca4409a05 100644
--- a/lib/libcrypto/man/BF_set_key.3
+++ b/lib/libcrypto/man/BF_set_key.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: BF_set_key.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BF_SET_KEY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO.3 b/lib/libcrypto/man/BIO.3
index 44b826bb89b..f3a419721fa 100644
--- a/lib/libcrypto/man/BIO.3
+++ b/lib/libcrypto/man/BIO.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: BIO.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_ctrl.3 b/lib/libcrypto/man/BIO_ctrl.3
index 1ad28b7213c..391158bd42e 100644
--- a/lib/libcrypto/man/BIO_ctrl.3
+++ b/lib/libcrypto/man/BIO_ctrl.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: BIO_ctrl.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_CTRL 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_f_base64.3 b/lib/libcrypto/man/BIO_f_base64.3
index a9fc0c20f5d..d86a2e0daa3 100644
--- a/lib/libcrypto/man/BIO_f_base64.3
+++ b/lib/libcrypto/man/BIO_f_base64.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: BIO_f_base64.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_F_BASE64 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_f_cipher.3 b/lib/libcrypto/man/BIO_f_cipher.3
index 1f1f42bd83c..4ecde4f69d9 100644
--- a/lib/libcrypto/man/BIO_f_cipher.3
+++ b/lib/libcrypto/man/BIO_f_cipher.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: BIO_f_cipher.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_F_CIPHER 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_f_md.3 b/lib/libcrypto/man/BIO_f_md.3
index cc37483eb3f..3b3f1de329f 100644
--- a/lib/libcrypto/man/BIO_f_md.3
+++ b/lib/libcrypto/man/BIO_f_md.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: BIO_f_md.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_F_MD 3
.Os
.Sh NAME
@@ -69,7 +71,7 @@ It is a
macro.
.Pp
.Fn BIO_get_md
-places the a pointer to the digest BIOs digest method in
+places a pointer to the digest BIOs digest method in
.Fa mdp .
It is a
.Xr BIO_ctrl 3
diff --git a/lib/libcrypto/man/BIO_f_null.3 b/lib/libcrypto/man/BIO_f_null.3
index 3f75d6286ae..236d233e57e 100644
--- a/lib/libcrypto/man/BIO_f_null.3
+++ b/lib/libcrypto/man/BIO_f_null.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: BIO_f_null.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_F_NULL 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_find_type.3 b/lib/libcrypto/man/BIO_find_type.3
index ccbab52cf21..1db2fe85c69 100644
--- a/lib/libcrypto/man/BIO_find_type.3
+++ b/lib/libcrypto/man/BIO_find_type.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: BIO_find_type.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_FIND_TYPE 3
.Os
.Sh NAME
@@ -92,14 +94,7 @@ chain or find multiple matches using
Previous versions had to use:
.Pp
.Dl next = bio->next_bio;
-.Sh BUGS
-.Fn BIO_find_type
-in OpenSSL 0.9.5a and earlier could not be safely passed a
-.Dv NULL
-pointer for the
-.Fa b
-argument.
-.Sh EXAMPLE
+.Sh EXAMPLES
Traverse a chain looking for digest BIOs:
.Bd -literal -offset 2n
BIO *btmp;
@@ -115,3 +110,10 @@ do {
btmp = BIO_next(btmp);
} while(btmp);
.Ed
+.Sh BUGS
+.Fn BIO_find_type
+in OpenSSL 0.9.5a and earlier could not be safely passed a
+.Dv NULL
+pointer for the
+.Fa b
+argument.
diff --git a/lib/libcrypto/man/BIO_new.3 b/lib/libcrypto/man/BIO_new.3
index 0727f50c194..b08de9c6504 100644
--- a/lib/libcrypto/man/BIO_new.3
+++ b/lib/libcrypto/man/BIO_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: September 9 2015 $
+.\" $OpenBSD: BIO_new.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_push.3 b/lib/libcrypto/man/BIO_push.3
index 848a09ba536..0357a8446cf 100644
--- a/lib/libcrypto/man/BIO_push.3
+++ b/lib/libcrypto/man/BIO_push.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_push.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_PUSH 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_read.3 b/lib/libcrypto/man/BIO_read.3
index 3114ab3da41..94a4fb14615 100644
--- a/lib/libcrypto/man/BIO_read.3
+++ b/lib/libcrypto/man/BIO_read.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_read.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_READ 3
.Os
.Sh NAME
@@ -84,7 +86,7 @@ is to use a system call (such as
.Xr select 2 ,
.Xr poll 2
or equivalent) to determine when data is available and then call
-.Xr read 3
+.Xr read 2
to read the data.
The equivalent with BIOs (that is call
.Xr select 2
diff --git a/lib/libcrypto/man/BIO_s_accept.3 b/lib/libcrypto/man/BIO_s_accept.3
index f5adfcc07ca..766d86e2a43 100644
--- a/lib/libcrypto/man/BIO_s_accept.3
+++ b/lib/libcrypto/man/BIO_s_accept.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_s_accept.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_S_ACCEPT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_s_bio.3 b/lib/libcrypto/man/BIO_s_bio.3
index 39fa4504c5a..c7d602990e1 100644
--- a/lib/libcrypto/man/BIO_s_bio.3
+++ b/lib/libcrypto/man/BIO_s_bio.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: August 2 2015 $
+.\" $OpenBSD: BIO_s_bio.3,v 1.4 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_S_BIO 3
.Os
.Sh NAME
@@ -231,7 +233,7 @@ will be true.
If the application then waits for data to become available
on the underlying transport before flushing the write buffer,
it will never succeed because the request was never sent.
-.Sh EXAMPLE
+.Sh EXAMPLES
The BIO pair can be used to have full control
over the network access of an application.
The application can call
diff --git a/lib/libcrypto/man/BIO_s_connect.3 b/lib/libcrypto/man/BIO_s_connect.3
index 960400e8536..e0da157e125 100644
--- a/lib/libcrypto/man/BIO_s_connect.3
+++ b/lib/libcrypto/man/BIO_s_connect.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_s_connect.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_S_CONNECT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_s_fd.3 b/lib/libcrypto/man/BIO_s_fd.3
index 3d6a2a3ca92..004126565e1 100644
--- a/lib/libcrypto/man/BIO_s_fd.3
+++ b/lib/libcrypto/man/BIO_s_fd.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_s_fd.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_S_FD 3
.Os
.Sh NAME
@@ -124,7 +126,7 @@ returns the file descriptor or -1 if the BIO has not been initialized.
returns the newly allocated BIO or
.Dv NULL
if an error occurred.
-.Sh EXAMPLE
+.Sh EXAMPLES
This is a file descriptor BIO version of "Hello World":
.Bd -literal -offset indent
BIO *out;
diff --git a/lib/libcrypto/man/BIO_s_file.3 b/lib/libcrypto/man/BIO_s_file.3
index c7075a3fb7c..9676e4f0a50 100644
--- a/lib/libcrypto/man/BIO_s_file.3
+++ b/lib/libcrypto/man/BIO_s_file.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_s_file.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_S_FILE 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_s_mem.3 b/lib/libcrypto/man/BIO_s_mem.3
index a37b4bff980..1512ebbb777 100644
--- a/lib/libcrypto/man/BIO_s_mem.3
+++ b/lib/libcrypto/man/BIO_s_mem.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_s_mem.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_S_MEM 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_s_null.3 b/lib/libcrypto/man/BIO_s_null.3
index 05008aabfc9..5910bd5ce17 100644
--- a/lib/libcrypto/man/BIO_s_null.3
+++ b/lib/libcrypto/man/BIO_s_null.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_s_null.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_S_NULL 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_s_socket.3 b/lib/libcrypto/man/BIO_s_socket.3
index f7aff6a4c8f..69768bc003a 100644
--- a/lib/libcrypto/man/BIO_s_socket.3
+++ b/lib/libcrypto/man/BIO_s_socket.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_s_socket.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_S_SOCKET 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_set_callback.3 b/lib/libcrypto/man/BIO_set_callback.3
index 39d284890ec..68ca2780f86 100644
--- a/lib/libcrypto/man/BIO_set_callback.3
+++ b/lib/libcrypto/man/BIO_set_callback.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_set_callback.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_SET_CALLBACK 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BIO_should_retry.3 b/lib/libcrypto/man/BIO_should_retry.3
index cb5eda31215..c06e907235a 100644
--- a/lib/libcrypto/man/BIO_should_retry.3
+++ b/lib/libcrypto/man/BIO_should_retry.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 16 2015 $
+.\" $OpenBSD: BIO_should_retry.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BIO_SHOULD_RETRY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_BLINDING_new.3 b/lib/libcrypto/man/BN_BLINDING_new.3
index 72ea5d8b346..d8860f543e7 100644
--- a/lib/libcrypto/man/BN_BLINDING_new.3
+++ b/lib/libcrypto/man/BN_BLINDING_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: August 2 2015 $
+.\" $OpenBSD: BN_BLINDING_new.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_BLINDING_NEW 3
.Os
.Sh NAME
@@ -210,7 +212,7 @@ and
can be used to pass special functions for exponentiation (normally
.Xr BN_mod_exp_mont 3
and
-.Vt BN_MONT_CTX Ns ).
+.Vt BN_MONT_CTX ) .
.Sh RETURN VALUES
.Fn BN_BLINDING_new
returns the newly allocated
diff --git a/lib/libcrypto/man/BN_CTX_new.3 b/lib/libcrypto/man/BN_CTX_new.3
index 1a773148548..5165f3bea20 100644
--- a/lib/libcrypto/man/BN_CTX_new.3
+++ b/lib/libcrypto/man/BN_CTX_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_CTX_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_CTX_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_CTX_start.3 b/lib/libcrypto/man/BN_CTX_start.3
index 986208ba1a2..0d0797ef6f7 100644
--- a/lib/libcrypto/man/BN_CTX_start.3
+++ b/lib/libcrypto/man/BN_CTX_start.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_CTX_start.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_CTX_START 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_add.3 b/lib/libcrypto/man/BN_add.3
index de5caaf403e..1933be8c52e 100644
--- a/lib/libcrypto/man/BN_add.3
+++ b/lib/libcrypto/man/BN_add.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: BN_add.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_ADD 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_add_word.3 b/lib/libcrypto/man/BN_add_word.3
index 16f2a17eb57..589ede6f739 100644
--- a/lib/libcrypto/man/BN_add_word.3
+++ b/lib/libcrypto/man/BN_add_word.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: July 5 2016 $
+.\" $OpenBSD: BN_add_word.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_ADD_WORD 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_bn2bin.3 b/lib/libcrypto/man/BN_bn2bin.3
index 02d6b2c8b83..b3715279355 100644
--- a/lib/libcrypto/man/BN_bn2bin.3
+++ b/lib/libcrypto/man/BN_bn2bin.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_bn2bin.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_BN2BIN 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_cmp.3 b/lib/libcrypto/man/BN_cmp.3
index b0a03b25ced..f3f36aa2dd6 100644
--- a/lib/libcrypto/man/BN_cmp.3
+++ b/lib/libcrypto/man/BN_cmp.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_cmp.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_CMP 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_copy.3 b/lib/libcrypto/man/BN_copy.3
index 765e46c01c8..80b3087c62c 100644
--- a/lib/libcrypto/man/BN_copy.3
+++ b/lib/libcrypto/man/BN_copy.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_copy.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_COPY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_generate_prime.3 b/lib/libcrypto/man/BN_generate_prime.3
index e269571914a..01eb4de1f8a 100644
--- a/lib/libcrypto/man/BN_generate_prime.3
+++ b/lib/libcrypto/man/BN_generate_prime.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_generate_prime.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_GENERATE_PRIME 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_mod_inverse.3 b/lib/libcrypto/man/BN_mod_inverse.3
index db63269fb85..2500c178f3f 100644
--- a/lib/libcrypto/man/BN_mod_inverse.3
+++ b/lib/libcrypto/man/BN_mod_inverse.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_mod_inverse.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_MOD_INVERSE 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_mod_mul_montgomery.3 b/lib/libcrypto/man/BN_mod_mul_montgomery.3
index ac120f3c02b..8ec14c3ea0d 100644
--- a/lib/libcrypto/man/BN_mod_mul_montgomery.3
+++ b/lib/libcrypto/man/BN_mod_mul_montgomery.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_mod_mul_montgomery.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_MOD_MUL_MONTGOMERY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_mod_mul_reciprocal.3 b/lib/libcrypto/man/BN_mod_mul_reciprocal.3
index ceb1ffae5b0..c311cca9615 100644
--- a/lib/libcrypto/man/BN_mod_mul_reciprocal.3
+++ b/lib/libcrypto/man/BN_mod_mul_reciprocal.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_mod_mul_reciprocal.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_MOD_MUL_RECIPROCAL 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_new.3 b/lib/libcrypto/man/BN_new.3
index ad8ce886d93..887336e914b 100644
--- a/lib/libcrypto/man/BN_new.3
+++ b/lib/libcrypto/man/BN_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_num_bytes.3 b/lib/libcrypto/man/BN_num_bytes.3
index 2d7be7e4438..5223ff11164 100644
--- a/lib/libcrypto/man/BN_num_bytes.3
+++ b/lib/libcrypto/man/BN_num_bytes.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_num_bytes.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_NUM_BYTES 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_rand.3 b/lib/libcrypto/man/BN_rand.3
index f4fd7f21cf4..b580a098921 100644
--- a/lib/libcrypto/man/BN_rand.3
+++ b/lib/libcrypto/man/BN_rand.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: July 25 2015 $
+.\" $OpenBSD: BN_rand.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_RAND 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_set_bit.3 b/lib/libcrypto/man/BN_set_bit.3
index 75c2379239a..1e0ffc8ccc5 100644
--- a/lib/libcrypto/man/BN_set_bit.3
+++ b/lib/libcrypto/man/BN_set_bit.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: BN_set_bit.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_SET_BIT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_swap.3 b/lib/libcrypto/man/BN_swap.3
index b252261067a..e6a98ec0efc 100644
--- a/lib/libcrypto/man/BN_swap.3
+++ b/lib/libcrypto/man/BN_swap.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: February 23 2015 $
+.\" $OpenBSD: BN_swap.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_SWAP 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BN_zero.3 b/lib/libcrypto/man/BN_zero.3
index 8e3dd7f6a3c..2d9b943a964 100644
--- a/lib/libcrypto/man/BN_zero.3
+++ b/lib/libcrypto/man/BN_zero.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: BN_zero.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BN_ZERO 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/BUF_MEM_new.3 b/lib/libcrypto/man/BUF_MEM_new.3
index 10258b7aaf4..609df414576 100644
--- a/lib/libcrypto/man/BUF_MEM_new.3
+++ b/lib/libcrypto/man/BUF_MEM_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: March 12 2016 $
+.\" $OpenBSD: BUF_MEM_new.3,v 1.4 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt BUF_MEM_NEW 3
.Os
.Sh NAME
@@ -91,7 +93,7 @@ on error.
.Pp
.Fn BUF_MEM_grow
returns zero on error or the new size (i.e.
-.Fa len Ns ).
+.Fa len ) .
.Sh SEE ALSO
.Xr bio 3
.Sh HISTORY
diff --git a/lib/libcrypto/man/CONF_modules_free.3 b/lib/libcrypto/man/CONF_modules_free.3
index b09989d6641..2735db8d3b7 100644
--- a/lib/libcrypto/man/CONF_modules_free.3
+++ b/lib/libcrypto/man/CONF_modules_free.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 11 2015 $
+.\" $OpenBSD: CONF_modules_free.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt CONF_MODULES_FREE 3
.Os
.Sh NAME
@@ -43,7 +45,7 @@ is 1, all modules, including builtin modules, will be unloaded.
Normally applications will only call
.Fn CONF_modules_free
at application to tidy up any configuration performed.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
None of the functions return a value.
.Sh SEE ALSO
.Xr CONF_modules_load_file 3 ,
diff --git a/lib/libcrypto/man/CONF_modules_load_file.3 b/lib/libcrypto/man/CONF_modules_load_file.3
index b5de94411d9..9fbd1aba472 100644
--- a/lib/libcrypto/man/CONF_modules_load_file.3
+++ b/lib/libcrypto/man/CONF_modules_load_file.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 11 2015 $
+.\" $OpenBSD: CONF_modules_load_file.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt CONF_MODULES_LOAD_FILE 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/CRYPTO_set_ex_data.3 b/lib/libcrypto/man/CRYPTO_set_ex_data.3
index 1be42dedd97..d7a88b5293b 100644
--- a/lib/libcrypto/man/CRYPTO_set_ex_data.3
+++ b/lib/libcrypto/man/CRYPTO_set_ex_data.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 11 2015 $
+.\" $OpenBSD: CRYPTO_set_ex_data.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt CRYPTO_SET_EX_DATA 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/CRYPTO_set_locking_callback.3 b/lib/libcrypto/man/CRYPTO_set_locking_callback.3
index 708c52d7d3f..eb99f30d236 100644
--- a/lib/libcrypto/man/CRYPTO_set_locking_callback.3
+++ b/lib/libcrypto/man/CRYPTO_set_locking_callback.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: March 26 2016 $
+.\" $OpenBSD: CRYPTO_set_locking_callback.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt CRYPTO_SET_LOCKING_CALLBACK 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DES_set_key.3 b/lib/libcrypto/man/DES_set_key.3
index 9c33bf29e6b..1e4de6255f5 100644
--- a/lib/libcrypto/man/DES_set_key.3
+++ b/lib/libcrypto/man/DES_set_key.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DES_set_key.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DES_SET_KEY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DH_generate_key.3 b/lib/libcrypto/man/DH_generate_key.3
index 6e2edbadb3e..94fe00823ef 100644
--- a/lib/libcrypto/man/DH_generate_key.3
+++ b/lib/libcrypto/man/DH_generate_key.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DH_generate_key.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DH_GENERATE_KEY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DH_generate_parameters.3 b/lib/libcrypto/man/DH_generate_parameters.3
index 431ffd634c8..b092ad02638 100644
--- a/lib/libcrypto/man/DH_generate_parameters.3
+++ b/lib/libcrypto/man/DH_generate_parameters.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DH_generate_parameters.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DH_GENERATE_PARAMETERS 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DH_get_ex_new_index.3 b/lib/libcrypto/man/DH_get_ex_new_index.3
index c93efa73d6d..ccc5b6dc959 100644
--- a/lib/libcrypto/man/DH_get_ex_new_index.3
+++ b/lib/libcrypto/man/DH_get_ex_new_index.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DH_get_ex_new_index.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DH_GET_EX_NEW_INDEX 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DH_new.3 b/lib/libcrypto/man/DH_new.3
index 46b1570765a..272e7bbdd63 100644
--- a/lib/libcrypto/man/DH_new.3
+++ b/lib/libcrypto/man/DH_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DH_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DH_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DH_set_method.3 b/lib/libcrypto/man/DH_set_method.3
index 86dae1728cd..93cdf5576d2 100644
--- a/lib/libcrypto/man/DH_set_method.3
+++ b/lib/libcrypto/man/DH_set_method.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DH_set_method.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DH_SET_METHOD 3
.Os
.Sh NAME
@@ -88,7 +90,7 @@ It is possible to have
.Vt DH
keys that only work with certain
.Vt DH_METHOD
-implementations (eg. from an
+implementations (e.g. from an
.Vt ENGINE
module that supports embedded hardware-protected keys),
and in such cases attempting to change the
@@ -208,7 +210,7 @@ DH API without requiring changing these function prototypes.
As of version 0.9.7,
.Vt DH_METHOD
implementations are grouped together with other algorithmic APIs
-(eg. RSA_METHOD, EVP_CIPHER, etc) in
+(e.g. RSA_METHOD, EVP_CIPHER) in
.Vt ENGINE
modules.
If a default
@@ -216,7 +218,7 @@ If a default
is specified for DH functionality using an
.Xr engine 3
API function, that will override any DH defaults set using the DH API
-.Pq ie. Fn DH_set_default_method .
+.Pq i.e. Fn DH_set_default_method .
For this reason, the
.Xr engine 3
API is the recommended way to control default implementations
diff --git a/lib/libcrypto/man/DH_size.3 b/lib/libcrypto/man/DH_size.3
index 3675f7b12bd..251860aa4a4 100644
--- a/lib/libcrypto/man/DH_size.3
+++ b/lib/libcrypto/man/DH_size.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DH_size.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DH_SIZE 3
.Os
.Sh NAME
@@ -19,7 +21,7 @@ shared secret computed by
.Fa dh->p
must not be
.Dv NULL .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
The size in bytes.
.Sh SEE ALSO
.Xr dh 3 ,
diff --git a/lib/libcrypto/man/DSA_SIG_new.3 b/lib/libcrypto/man/DSA_SIG_new.3
index 32d21fb7827..2a424cf3d92 100644
--- a/lib/libcrypto/man/DSA_SIG_new.3
+++ b/lib/libcrypto/man/DSA_SIG_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DSA_SIG_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA_SIG_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DSA_do_sign.3 b/lib/libcrypto/man/DSA_do_sign.3
index c61ff925bb9..552699cb357 100644
--- a/lib/libcrypto/man/DSA_do_sign.3
+++ b/lib/libcrypto/man/DSA_do_sign.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DSA_do_sign.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA_DO_SIGN 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DSA_dup_DH.3 b/lib/libcrypto/man/DSA_dup_DH.3
index c8b7ec60abe..f2005202b0b 100644
--- a/lib/libcrypto/man/DSA_dup_DH.3
+++ b/lib/libcrypto/man/DSA_dup_DH.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DSA_dup_DH.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA_DUP_DH 3
.Os
.Sh NAME
@@ -21,7 +23,7 @@ parameters/keys.
is lost during that conversion, but the resulting
.Vt DH
parameters contain its length.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
.Fn DSA_dup_DH
returns the new
.Vt DH
diff --git a/lib/libcrypto/man/DSA_generate_key.3 b/lib/libcrypto/man/DSA_generate_key.3
index cf0872463f9..4138bf547fc 100644
--- a/lib/libcrypto/man/DSA_generate_key.3
+++ b/lib/libcrypto/man/DSA_generate_key.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DSA_generate_key.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA_GENERATE_KEY 3
.Os
.Sh NAME
@@ -19,7 +21,7 @@ It generates a new key pair and stores it in
.Fa a->pub_key
and
.Fa a->priv_key .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
.Fn DSA_generate_key
returns 1 on success or 0 otherwise.
The error codes can be obtained by
diff --git a/lib/libcrypto/man/DSA_generate_parameters.3 b/lib/libcrypto/man/DSA_generate_parameters.3
index 1acb85e77a3..cd68411eecc 100644
--- a/lib/libcrypto/man/DSA_generate_parameters.3
+++ b/lib/libcrypto/man/DSA_generate_parameters.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DSA_generate_parameters.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA_GENERATE_PARAMETERS 3
.Os
.Sh NAME
@@ -132,7 +134,7 @@ based approach.
Refer to
.Xr BN_generate_prime 3
for further information.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
.Fn DSA_generate_parameters_ex
returns a 1 on success, or 0 otherwise.
.Pp
diff --git a/lib/libcrypto/man/DSA_get_ex_new_index.3 b/lib/libcrypto/man/DSA_get_ex_new_index.3
index da2a6ae7aa7..ab408d4109e 100644
--- a/lib/libcrypto/man/DSA_get_ex_new_index.3
+++ b/lib/libcrypto/man/DSA_get_ex_new_index.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DSA_get_ex_new_index.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA_GET_EX_NEW_INDEX 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DSA_new.3 b/lib/libcrypto/man/DSA_new.3
index 0e8e87deed5..50670f5098e 100644
--- a/lib/libcrypto/man/DSA_new.3
+++ b/lib/libcrypto/man/DSA_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DSA_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DSA_set_method.3 b/lib/libcrypto/man/DSA_set_method.3
index 2ba34ddf94f..f7c16492ffe 100644
--- a/lib/libcrypto/man/DSA_set_method.3
+++ b/lib/libcrypto/man/DSA_set_method.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DSA_set_method.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA_SET_METHOD 3
.Os
.Sh NAME
@@ -80,7 +82,7 @@ the handle to that
will be released during the change.
It is possible to have DSA keys that only work with certain
.Vt DSA_METHOD
-implementations (eg. from an
+implementations (e.g. from an
.Vt ENGINE
module that supports embedded hardware-protected keys),
and in such cases attempting to change the
@@ -209,7 +211,7 @@ API now transparently overrides the behaviour of defaults in the
DSA API without requiring changing these function prototypes.
.Sh CAVEATS
As of version 0.9.7, DSA_METHOD implementations are grouped together
-with other algorithmic APIs (eg. RSA_METHOD, EVP_CIPHER, etc) in
+with other algorithmic APIs (e.g. RSA_METHOD, EVP_CIPHER) in
.Vt ENGINE
modules.
If a default
@@ -217,7 +219,7 @@ If a default
is specified for DSA functionality using an
.Xr engine 3
API function, that will override any DSA defaults set using the DSA API
-.Pq ie. DSA_set_default_method .
+.Pq i.e. DSA_set_default_method .
For this reason, the
.Xr engine 3
API is the recommended way to control default implementations for
diff --git a/lib/libcrypto/man/DSA_sign.3 b/lib/libcrypto/man/DSA_sign.3
index 371f1f4555b..9682f8d54b6 100644
--- a/lib/libcrypto/man/DSA_sign.3
+++ b/lib/libcrypto/man/DSA_sign.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DSA_sign.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA_SIGN 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/DSA_size.3 b/lib/libcrypto/man/DSA_size.3
index 64dce38f7c1..c12c7dd598b 100644
--- a/lib/libcrypto/man/DSA_size.3
+++ b/lib/libcrypto/man/DSA_size.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: DSA_size.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DSA_SIZE 3
.Os
.Sh NAME
@@ -19,7 +21,7 @@ signature.
.Fa dsa->q
must not be
.Dv NULL .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
The size in bytes.
.Sh SEE ALSO
.Xr dsa 3 ,
diff --git a/lib/libcrypto/man/ECDSA_SIG_new.3 b/lib/libcrypto/man/ECDSA_SIG_new.3
index 422ccdeb422..cc5bcd8d3ad 100644
--- a/lib/libcrypto/man/ECDSA_SIG_new.3
+++ b/lib/libcrypto/man/ECDSA_SIG_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 12 2015 $
+.\" $OpenBSD: ECDSA_SIG_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ECDSA_SIG_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EC_GFp_simple_method.3 b/lib/libcrypto/man/EC_GFp_simple_method.3
index 8f401e85c8f..c8c5e9883f5 100644
--- a/lib/libcrypto/man/EC_GFp_simple_method.3
+++ b/lib/libcrypto/man/EC_GFp_simple_method.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: EC_GFp_simple_method.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EC_GFP_SIMPLE_METHOD 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EC_GROUP_copy.3 b/lib/libcrypto/man/EC_GROUP_copy.3
index 61c094700ab..25ef67344df 100644
--- a/lib/libcrypto/man/EC_GROUP_copy.3
+++ b/lib/libcrypto/man/EC_GROUP_copy.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: EC_GROUP_copy.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EC_GROUP_COPY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EC_GROUP_new.3 b/lib/libcrypto/man/EC_GROUP_new.3
index 00690dfc072..6534e8fc99c 100644
--- a/lib/libcrypto/man/EC_GROUP_new.3
+++ b/lib/libcrypto/man/EC_GROUP_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: EC_GROUP_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EC_GROUP_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EC_KEY_new.3 b/lib/libcrypto/man/EC_KEY_new.3
index dcc55fa9738..b977323e29c 100644
--- a/lib/libcrypto/man/EC_KEY_new.3
+++ b/lib/libcrypto/man/EC_KEY_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: EC_KEY_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EC_KEY_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EC_POINT_add.3 b/lib/libcrypto/man/EC_POINT_add.3
index b8e32909528..e432dd57575 100644
--- a/lib/libcrypto/man/EC_POINT_add.3
+++ b/lib/libcrypto/man/EC_POINT_add.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: EC_POINT_add.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EC_POINT_ADD 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EC_POINT_new.3 b/lib/libcrypto/man/EC_POINT_new.3
index cd0dcaf9864..7ece11bb6a3 100644
--- a/lib/libcrypto/man/EC_POINT_new.3
+++ b/lib/libcrypto/man/EC_POINT_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: EC_POINT_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EC_POINT_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ERR.3 b/lib/libcrypto/man/ERR.3
index 2c9a4479f76..94e38b16457 100644
--- a/lib/libcrypto/man/ERR.3
+++ b/lib/libcrypto/man/ERR.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ERR_GET_LIB.3 b/lib/libcrypto/man/ERR_GET_LIB.3
index 9b50ce39e64..ec569f6be25 100644
--- a/lib/libcrypto/man/ERR_GET_LIB.3
+++ b/lib/libcrypto/man/ERR_GET_LIB.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR_GET_LIB.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR_GET_LIB 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ERR_clear_error.3 b/lib/libcrypto/man/ERR_clear_error.3
index f5beb14b100..ed0c345b6e4 100644
--- a/lib/libcrypto/man/ERR_clear_error.3
+++ b/lib/libcrypto/man/ERR_clear_error.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR_clear_error.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR_CLEAR_ERROR 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ERR_error_string.3 b/lib/libcrypto/man/ERR_error_string.3
index 75878d233ee..e516fa27033 100644
--- a/lib/libcrypto/man/ERR_error_string.3
+++ b/lib/libcrypto/man/ERR_error_string.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR_error_string.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR_ERROR_STRING 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ERR_get_error.3 b/lib/libcrypto/man/ERR_get_error.3
index 8b11f792c16..de526a9cde0 100644
--- a/lib/libcrypto/man/ERR_get_error.3
+++ b/lib/libcrypto/man/ERR_get_error.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR_get_error.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR_GET_ERROR 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ERR_load_crypto_strings.3 b/lib/libcrypto/man/ERR_load_crypto_strings.3
index 7d14b1e572d..51ee650b0c0 100644
--- a/lib/libcrypto/man/ERR_load_crypto_strings.3
+++ b/lib/libcrypto/man/ERR_load_crypto_strings.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR_load_crypto_strings.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR_LOAD_CRYPTO_STRINGS 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ERR_load_strings.3 b/lib/libcrypto/man/ERR_load_strings.3
index 691a4067d3f..780d0869fa4 100644
--- a/lib/libcrypto/man/ERR_load_strings.3
+++ b/lib/libcrypto/man/ERR_load_strings.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR_load_strings.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR_LOAD_STRINGS 3
.Os
.Sh NAME
@@ -49,16 +51,15 @@ The last entry in the array is
.Pp
.Fn ERR_get_next_error_library
can be used to assign library numbers to user libraries at runtime.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
.Fn ERR_PACK
returns the error code.
.Fn ERR_get_next_error_library
returns a new library number.
.Sh SEE ALSO
-.Xr ERR 3 ,
-.Xr ERR_load_strings 3
+.Xr ERR 3
.Sh HISTORY
-.Xr ERR_load_error_strings 3
+.Fn ERR_load_error_strings
and
.Fn ERR_PACK
are available in all versions of SSLeay and OpenSSL.
diff --git a/lib/libcrypto/man/ERR_print_errors.3 b/lib/libcrypto/man/ERR_print_errors.3
index 1fc80d93f7a..74b4442b1a2 100644
--- a/lib/libcrypto/man/ERR_print_errors.3
+++ b/lib/libcrypto/man/ERR_print_errors.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR_print_errors.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR_PRINT_ERRORS 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ERR_put_error.3 b/lib/libcrypto/man/ERR_put_error.3
index 703b74d7138..0b0a458b8dc 100644
--- a/lib/libcrypto/man/ERR_put_error.3
+++ b/lib/libcrypto/man/ERR_put_error.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR_put_error.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR_PUT_ERROR 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/ERR_remove_state.3 b/lib/libcrypto/man/ERR_remove_state.3
index c15779edfcf..faa1aa227f9 100644
--- a/lib/libcrypto/man/ERR_remove_state.3
+++ b/lib/libcrypto/man/ERR_remove_state.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR_remove_state.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR_REMOVE_STATE 3
.Os
.Sh NAME
@@ -41,7 +43,7 @@ Calling
.Fn ERR_remove_state
is equivalent to
.Fn ERR_remove_thread_state NULL .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
.Fn ERR_remove_thread_state
and
.Fn ERR_remove_state
diff --git a/lib/libcrypto/man/ERR_set_mark.3 b/lib/libcrypto/man/ERR_set_mark.3
index e2682714182..478ca089628 100644
--- a/lib/libcrypto/man/ERR_set_mark.3
+++ b/lib/libcrypto/man/ERR_set_mark.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 2 2016 $
+.\" $OpenBSD: ERR_set_mark.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ERR_SET_MARK 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_BytesToKey.3 b/lib/libcrypto/man/EVP_BytesToKey.3
index 45a3d9bf33d..ad277b88824 100644
--- a/lib/libcrypto/man/EVP_BytesToKey.3
+++ b/lib/libcrypto/man/EVP_BytesToKey.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_BytesToKey.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_BYTESTOKEY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_DigestInit.3 b/lib/libcrypto/man/EVP_DigestInit.3
index 9bcf79241c8..f9be8ef75bf 100644
--- a/lib/libcrypto/man/EVP_DigestInit.3
+++ b/lib/libcrypto/man/EVP_DigestInit.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_DigestInit.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_DIGESTINIT 3
.Os
.Sh NAME
@@ -505,7 +507,7 @@ were added in OpenSSL 0.9.7.
.Fn EVP_dss1 ,
and
.Fn EVP_ripemd160
-were changed to return truely const
+were changed to return truly const
.Vt EVP_MD
pointers in OpenSSL 0.9.7.
.Pp
diff --git a/lib/libcrypto/man/EVP_DigestSignInit.3 b/lib/libcrypto/man/EVP_DigestSignInit.3
index 89a2d7afbdd..98a5f16b213 100644
--- a/lib/libcrypto/man/EVP_DigestSignInit.3
+++ b/lib/libcrypto/man/EVP_DigestSignInit.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_DigestSignInit.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_DIGESTSIGNINIT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_DigestVerifyInit.3 b/lib/libcrypto/man/EVP_DigestVerifyInit.3
index 0b26eb617e2..d0e777faed1 100644
--- a/lib/libcrypto/man/EVP_DigestVerifyInit.3
+++ b/lib/libcrypto/man/EVP_DigestVerifyInit.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_DigestVerifyInit.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_DIGESTVERIFYINIT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_EncryptInit.3 b/lib/libcrypto/man/EVP_EncryptInit.3
index 44967f863f6..e7864685500 100644
--- a/lib/libcrypto/man/EVP_EncryptInit.3
+++ b/lib/libcrypto/man/EVP_EncryptInit.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_EncryptInit.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_ENCRYPTINIT 3
.Os
.Sh NAME
@@ -489,7 +491,8 @@ and
return the type of the passed cipher or context.
This "type" is the actual NID of the cipher OBJECT IDENTIFIER as such it
ignores the cipher parameters and 40 bit RC2 and 128 bit RC2 have the
-same NID. If the cipher does not have an object identifier or does not
+same NID.
+If the cipher does not have an object identifier or does not
have ASN1 support this function will return
.Dv NID_undef .
.Pp
diff --git a/lib/libcrypto/man/EVP_OpenInit.3 b/lib/libcrypto/man/EVP_OpenInit.3
index 92873ac4539..092053c6afd 100644
--- a/lib/libcrypto/man/EVP_OpenInit.3
+++ b/lib/libcrypto/man/EVP_OpenInit.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_OpenInit.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_OPENINIT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 b/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3
index 5b1b94653ae..1b346607d1a 100644
--- a/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3
+++ b/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_CTX_ctrl.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_CTX_CTRL 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_CTX_new.3 b/lib/libcrypto/man/EVP_PKEY_CTX_new.3
index c08db1eb211..03439d66586 100644
--- a/lib/libcrypto/man/EVP_PKEY_CTX_new.3
+++ b/lib/libcrypto/man/EVP_PKEY_CTX_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_CTX_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_CTX_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_cmp.3 b/lib/libcrypto/man/EVP_PKEY_cmp.3
index a3c3ba4fec8..2e366402ca1 100644
--- a/lib/libcrypto/man/EVP_PKEY_cmp.3
+++ b/lib/libcrypto/man/EVP_PKEY_cmp.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_cmp.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_CMP 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_decrypt.3 b/lib/libcrypto/man/EVP_PKEY_decrypt.3
index 28c343838d8..f8d29fbef25 100644
--- a/lib/libcrypto/man/EVP_PKEY_decrypt.3
+++ b/lib/libcrypto/man/EVP_PKEY_decrypt.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_decrypt.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_DECRYPT 3
.Os
.Sh NAME
@@ -71,7 +73,7 @@ and
return 1 for success and 0 or a negative value for failure.
In particular, a return value of -2 indicates the operation is not
supported by the public key algorithm.
-.Sh EXAMPLE
+.Sh EXAMPLES
Decrypt data using OAEP (for RSA keys):
.Bd -literal
#include <openssl/evp.h>
diff --git a/lib/libcrypto/man/EVP_PKEY_derive.3 b/lib/libcrypto/man/EVP_PKEY_derive.3
index e67280cf20e..e29587be7ee 100644
--- a/lib/libcrypto/man/EVP_PKEY_derive.3
+++ b/lib/libcrypto/man/EVP_PKEY_derive.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_derive.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_DERIVE 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_encrypt.3 b/lib/libcrypto/man/EVP_PKEY_encrypt.3
index bda37ef160f..8edd53745d1 100644
--- a/lib/libcrypto/man/EVP_PKEY_encrypt.3
+++ b/lib/libcrypto/man/EVP_PKEY_encrypt.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_encrypt.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_ENCRYPT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_get_default_digest.3 b/lib/libcrypto/man/EVP_PKEY_get_default_digest.3
index 2266adadf3f..38546b964d2 100644
--- a/lib/libcrypto/man/EVP_PKEY_get_default_digest.3
+++ b/lib/libcrypto/man/EVP_PKEY_get_default_digest.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_get_default_digest.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_GET_DEFAULT_DIGEST 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_keygen.3 b/lib/libcrypto/man/EVP_PKEY_keygen.3
index 8a5c7be0c66..c4649243843 100644
--- a/lib/libcrypto/man/EVP_PKEY_keygen.3
+++ b/lib/libcrypto/man/EVP_PKEY_keygen.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_keygen.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_KEYGEN 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_new.3 b/lib/libcrypto/man/EVP_PKEY_new.3
index 155ca9ad240..92610bb2b3d 100644
--- a/lib/libcrypto/man/EVP_PKEY_new.3
+++ b/lib/libcrypto/man/EVP_PKEY_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_print_private.3 b/lib/libcrypto/man/EVP_PKEY_print_private.3
index d1f627c6a06..a271835f9c8 100644
--- a/lib/libcrypto/man/EVP_PKEY_print_private.3
+++ b/lib/libcrypto/man/EVP_PKEY_print_private.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_print_private.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_PRINT_PRIVATE 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_set1_RSA.3 b/lib/libcrypto/man/EVP_PKEY_set1_RSA.3
index 986918dc2f1..4caadfb2a4d 100644
--- a/lib/libcrypto/man/EVP_PKEY_set1_RSA.3
+++ b/lib/libcrypto/man/EVP_PKEY_set1_RSA.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_set1_RSA.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_SET1_RSA 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_sign.3 b/lib/libcrypto/man/EVP_PKEY_sign.3
index f8e4da7a9d5..8ed14326181 100644
--- a/lib/libcrypto/man/EVP_PKEY_sign.3
+++ b/lib/libcrypto/man/EVP_PKEY_sign.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_sign.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_SIGN 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_verify.3 b/lib/libcrypto/man/EVP_PKEY_verify.3
index bec32833493..faf2dca1f69 100644
--- a/lib/libcrypto/man/EVP_PKEY_verify.3
+++ b/lib/libcrypto/man/EVP_PKEY_verify.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_PKEY_verify.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_VERIFY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_PKEY_verify_recover.3 b/lib/libcrypto/man/EVP_PKEY_verify_recover.3
index ab195ce502b..d1cedadef48 100644
--- a/lib/libcrypto/man/EVP_PKEY_verify_recover.3
+++ b/lib/libcrypto/man/EVP_PKEY_verify_recover.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: EVP_PKEY_verify_recover.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_PKEY_VERIFY_RECOVER 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_SealInit.3 b/lib/libcrypto/man/EVP_SealInit.3
index 9511111486c..32e7c0b35e0 100644
--- a/lib/libcrypto/man/EVP_SealInit.3
+++ b/lib/libcrypto/man/EVP_SealInit.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_SealInit.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_SEALINIT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_SignInit.3 b/lib/libcrypto/man/EVP_SignInit.3
index 22f81148a26..c18b074b6dc 100644
--- a/lib/libcrypto/man/EVP_SignInit.3
+++ b/lib/libcrypto/man/EVP_SignInit.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_SignInit.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_SIGNINIT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/EVP_VerifyInit.3 b/lib/libcrypto/man/EVP_VerifyInit.3
index b1635d4cac1..cec803136e4 100644
--- a/lib/libcrypto/man/EVP_VerifyInit.3
+++ b/lib/libcrypto/man/EVP_VerifyInit.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: EVP_VerifyInit.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP_VERIFYINIT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/HMAC.3 b/lib/libcrypto/man/HMAC.3
index 577070afb08..fc82e775638 100644
--- a/lib/libcrypto/man/HMAC.3
+++ b/lib/libcrypto/man/HMAC.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: HMAC.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt HMAC 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/MD5.3 b/lib/libcrypto/man/MD5.3
index b0053c1acdf..305af8053e0 100644
--- a/lib/libcrypto/man/MD5.3
+++ b/lib/libcrypto/man/MD5.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: MD5.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt MD5 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/OBJ_nid2obj.3 b/lib/libcrypto/man/OBJ_nid2obj.3
index 5634d8ea4af..b4149a73aac 100644
--- a/lib/libcrypto/man/OBJ_nid2obj.3
+++ b/lib/libcrypto/man/OBJ_nid2obj.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: OBJ_nid2obj.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt OBJ_NID2OBJ 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3 b/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
index 660a9644278..a24b3ddb957 100644
--- a/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
+++ b/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: OPENSSL_VERSION_NUMBER.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt OPENSSL_VERSION_NUMBER 3
.Os
.Sh NAME
@@ -81,7 +83,7 @@ The "OPENSSLDIR" setting of the library build in the form "OPENSSLDIR:
For an unknown
.Fa t ,
the text "not available" is returned.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
The version number.
.Sh SEE ALSO
.Xr crypto 3
diff --git a/lib/libcrypto/man/OPENSSL_config.3 b/lib/libcrypto/man/OPENSSL_config.3
index a944ba7b4ef..e2e277d1296 100644
--- a/lib/libcrypto/man/OPENSSL_config.3
+++ b/lib/libcrypto/man/OPENSSL_config.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: OPENSSL_config.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt OPENSSL_CONFIG 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/OPENSSL_load_builtin_modules.3 b/lib/libcrypto/man/OPENSSL_load_builtin_modules.3
index 2a107ab7c42..f56d5e8c9d8 100644
--- a/lib/libcrypto/man/OPENSSL_load_builtin_modules.3
+++ b/lib/libcrypto/man/OPENSSL_load_builtin_modules.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: OPENSSL_load_builtin_modules.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt OPENSSL_LOAD_BUILTIN_MODULES 3
.Os
.Sh NAME
@@ -45,7 +47,7 @@ Applications should call
to load all configuration modules instead of adding modules selectively:
otherwise functionality may be missing from the application when
new modules are added.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
None of the functions return a value.
.Sh SEE ALSO
.Xr OPENSSL_config 3
diff --git a/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 b/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
index b6e93a939e6..26910d45b00 100644
--- a/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
+++ b/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: OpenSSL_add_all_algorithms.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt OPENSSL_ADD_ALL_ALGORITHMS 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/PEM_read_bio_PrivateKey.3 b/lib/libcrypto/man/PEM_read_bio_PrivateKey.3
index 7dcea6dbe12..8532ef1b272 100644
--- a/lib/libcrypto/man/PEM_read_bio_PrivateKey.3
+++ b/lib/libcrypto/man/PEM_read_bio_PrivateKey.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: PEM_read_bio_PrivateKey.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt PEM_READ_BIO_PRIVATEKEY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/PEM_write_bio_PKCS7_stream.3 b/lib/libcrypto/man/PEM_write_bio_PKCS7_stream.3
index 12d556558d7..12d3d781ebb 100644
--- a/lib/libcrypto/man/PEM_write_bio_PKCS7_stream.3
+++ b/lib/libcrypto/man/PEM_write_bio_PKCS7_stream.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: PEM_write_bio_PKCS7_stream.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt PEM_WRITE_BIO_PKCS7_STREAM 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/PKCS12_create.3 b/lib/libcrypto/man/PKCS12_create.3
index 0a7f0c2ab59..f638fbf82e2 100644
--- a/lib/libcrypto/man/PKCS12_create.3
+++ b/lib/libcrypto/man/PKCS12_create.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: PKCS12_create.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt PKCS12_CREATE 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/PKCS12_parse.3 b/lib/libcrypto/man/PKCS12_parse.3
index 6930bdf3398..69786d49c08 100644
--- a/lib/libcrypto/man/PKCS12_parse.3
+++ b/lib/libcrypto/man/PKCS12_parse.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: PKCS12_parse.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt PKCS12_PARSE 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/PKCS5_PBKDF2_HMAC.3 b/lib/libcrypto/man/PKCS5_PBKDF2_HMAC.3
index 333e45250eb..6ab6f30b9e7 100644
--- a/lib/libcrypto/man/PKCS5_PBKDF2_HMAC.3
+++ b/lib/libcrypto/man/PKCS5_PBKDF2_HMAC.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: PKCS5_PBKDF2_HMAC.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt PKCS5_PBKDF2_HMAC 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/PKCS7_decrypt.3 b/lib/libcrypto/man/PKCS7_decrypt.3
index efc8454dde0..fa006af0ad9 100644
--- a/lib/libcrypto/man/PKCS7_decrypt.3
+++ b/lib/libcrypto/man/PKCS7_decrypt.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: PKCS7_decrypt.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt PKCS7_DECRYPT 3
.Os
.Sh NAME
@@ -66,4 +68,4 @@ The lack of single pass processing and need to hold all data in memory
as mentioned in
.Xr PKCS7_sign 3
also applies to
-.Xr PKCS7_decrypt 3 .
+.Fn PKCS7_decrypt .
diff --git a/lib/libcrypto/man/PKCS7_encrypt.3 b/lib/libcrypto/man/PKCS7_encrypt.3
index 860a9181b8d..1ab99c917ca 100644
--- a/lib/libcrypto/man/PKCS7_encrypt.3
+++ b/lib/libcrypto/man/PKCS7_encrypt.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: PKCS7_encrypt.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt PKCS7_ENCRYPT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/PKCS7_sign.3 b/lib/libcrypto/man/PKCS7_sign.3
index 894472402d1..6dfdde2616b 100644
--- a/lib/libcrypto/man/PKCS7_sign.3
+++ b/lib/libcrypto/man/PKCS7_sign.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: PKCS7_sign.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt PKCS7_SIGN 3
.Os
.Sh NAME
@@ -143,7 +145,7 @@ if the
.Dv PKCS7_PARTIAL
flag is set.
One or more signers can be added using the function
-.Xr PKCS7_sign_add_signer 3.
+.Xr PKCS7_sign_add_signer 3 .
.Xr PKCS7_final 3
must also be called to finalize the structure if streaming is not
enabled.
diff --git a/lib/libcrypto/man/PKCS7_sign_add_signer.3 b/lib/libcrypto/man/PKCS7_sign_add_signer.3
index b20b6b91e62..9ec6a548185 100644
--- a/lib/libcrypto/man/PKCS7_sign_add_signer.3
+++ b/lib/libcrypto/man/PKCS7_sign_add_signer.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: PKCS7_sign_add_signer.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt PKCS7_SIGN_ADD_SIGNER 3
.Os
.Sh NAME
@@ -124,5 +126,5 @@ if an error occurs.
.Xr PKCS7_final 3 ,
.Xr PKCS7_sign 3
.Sh HISTORY
-.Xr PKCS7_sign_add_signer 3
+.Fn PKCS7_sign_add_signer
was added to OpenSSL 1.0.0.
diff --git a/lib/libcrypto/man/PKCS7_verify.3 b/lib/libcrypto/man/PKCS7_verify.3
index 3cc6cbac669..11439915bd2 100644
--- a/lib/libcrypto/man/PKCS7_verify.3
+++ b/lib/libcrypto/man/PKCS7_verify.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: PKCS7_verify.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt PKCS7_VERIFY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RAND_add.3 b/lib/libcrypto/man/RAND_add.3
index 31b61a6386d..54a2328bb4c 100644
--- a/lib/libcrypto/man/RAND_add.3
+++ b/lib/libcrypto/man/RAND_add.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: RAND_add.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RAND_ADD 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RAND_bytes.3 b/lib/libcrypto/man/RAND_bytes.3
index 41f0950fe30..8c17454548b 100644
--- a/lib/libcrypto/man/RAND_bytes.3
+++ b/lib/libcrypto/man/RAND_bytes.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: RAND_bytes.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RAND_BYTES 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RAND_cleanup.3 b/lib/libcrypto/man/RAND_cleanup.3
index 00ee14b3717..8c57e09fc75 100644
--- a/lib/libcrypto/man/RAND_cleanup.3
+++ b/lib/libcrypto/man/RAND_cleanup.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: RAND_cleanup.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RAND_CLEANUP 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RAND_load_file.3 b/lib/libcrypto/man/RAND_load_file.3
index fb521a8e9cc..003196b59fd 100644
--- a/lib/libcrypto/man/RAND_load_file.3
+++ b/lib/libcrypto/man/RAND_load_file.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: RAND_load_file.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RAND_LOAD_FILE 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RAND_set_rand_method.3 b/lib/libcrypto/man/RAND_set_rand_method.3
index 7efdeefd411..cb5675d4aae 100644
--- a/lib/libcrypto/man/RAND_set_rand_method.3
+++ b/lib/libcrypto/man/RAND_set_rand_method.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: RAND_set_rand_method.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RAND_SET_RAND_METHOD 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RC4.3 b/lib/libcrypto/man/RC4.3
index 2c631c36be9..60df7792cb2 100644
--- a/lib/libcrypto/man/RC4.3
+++ b/lib/libcrypto/man/RC4.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: RC4.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RC4 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RIPEMD160.3 b/lib/libcrypto/man/RIPEMD160.3
index 57cff8a9e4c..ac86f82ef65 100644
--- a/lib/libcrypto/man/RIPEMD160.3
+++ b/lib/libcrypto/man/RIPEMD160.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: RIPEMD160.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RIPEMD160 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RSA_blinding_on.3 b/lib/libcrypto/man/RSA_blinding_on.3
index a2d22c9093b..05a1085b36c 100644
--- a/lib/libcrypto/man/RSA_blinding_on.3
+++ b/lib/libcrypto/man/RSA_blinding_on.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_blinding_on.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_BLINDING_ON 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RSA_check_key.3 b/lib/libcrypto/man/RSA_check_key.3
index c57ed4b4db7..cedebebf681 100644
--- a/lib/libcrypto/man/RSA_check_key.3
+++ b/lib/libcrypto/man/RSA_check_key.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_check_key.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_CHECK_KEY 3
.Os
.Sh NAME
@@ -63,7 +65,7 @@ If the
in question is only being used for acceleration or analysis purposes,
then in all likelihood the RSA key data is complete and untouched,
but this can't be assumed in the general case.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
.Fn RSA_check_key
returns 1 if
.Fa rsa
diff --git a/lib/libcrypto/man/RSA_generate_key.3 b/lib/libcrypto/man/RSA_generate_key.3
index a9e72c65945..d54185f6c07 100644
--- a/lib/libcrypto/man/RSA_generate_key.3
+++ b/lib/libcrypto/man/RSA_generate_key.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_generate_key.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_GENERATE_KEY 3
.Os
.Sh NAME
@@ -80,7 +82,7 @@ except it uses "old style" call backs.
See
.Xr BN_generate_prime 3
for further details.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
If key generation fails,
.Fn RSA_generate_key
returns
diff --git a/lib/libcrypto/man/RSA_get_ex_new_index.3 b/lib/libcrypto/man/RSA_get_ex_new_index.3
index b61084a18ee..8dafe26ecc3 100644
--- a/lib/libcrypto/man/RSA_get_ex_new_index.3
+++ b/lib/libcrypto/man/RSA_get_ex_new_index.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_get_ex_new_index.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_GET_EX_NEW_INDEX 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RSA_new.3 b/lib/libcrypto/man/RSA_new.3
index b01c8cd089b..b979c9fa041 100644
--- a/lib/libcrypto/man/RSA_new.3
+++ b/lib/libcrypto/man/RSA_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RSA_padding_add_PKCS1_type_1.3 b/lib/libcrypto/man/RSA_padding_add_PKCS1_type_1.3
index 7724f459704..07922a5f8df 100644
--- a/lib/libcrypto/man/RSA_padding_add_PKCS1_type_1.3
+++ b/lib/libcrypto/man/RSA_padding_add_PKCS1_type_1.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_padding_add_PKCS1_type_1.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_PADDING_ADD_PKCS1_TYPE_1 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RSA_print.3 b/lib/libcrypto/man/RSA_print.3
index 986dce2eb4a..82ca0df1c49 100644
--- a/lib/libcrypto/man/RSA_print.3
+++ b/lib/libcrypto/man/RSA_print.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_print.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_PRINT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RSA_private_encrypt.3 b/lib/libcrypto/man/RSA_private_encrypt.3
index ff59e66f6a9..ff7102a2bcb 100644
--- a/lib/libcrypto/man/RSA_private_encrypt.3
+++ b/lib/libcrypto/man/RSA_private_encrypt.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_private_encrypt.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_PRIVATE_ENCRYPT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RSA_public_encrypt.3 b/lib/libcrypto/man/RSA_public_encrypt.3
index c2c81019c66..7ac330a14cc 100644
--- a/lib/libcrypto/man/RSA_public_encrypt.3
+++ b/lib/libcrypto/man/RSA_public_encrypt.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_public_encrypt.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_PUBLIC_ENCRYPT 3
.Os
.Sh NAME
@@ -104,5 +106,6 @@ SSL, PKCS #1 v2.0
The
.Fa padding
argument was added in SSLeay 0.8.
-.Dv RSA_NO_PADDING is available since SSLeay 0.9.0.
+.Dv RSA_NO_PADDING
+is available since SSLeay 0.9.0.
OAEP was added in OpenSSL 0.9.2b.
diff --git a/lib/libcrypto/man/RSA_set_method.3 b/lib/libcrypto/man/RSA_set_method.3
index d7a2756b704..d296baf0104 100644
--- a/lib/libcrypto/man/RSA_set_method.3
+++ b/lib/libcrypto/man/RSA_set_method.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_set_method.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_SET_METHOD 3
.Os
.Sh NAME
@@ -93,7 +95,7 @@ the handle to that
will be released during the change.
It is possible to have RSA keys that only work with certain
.Vt RSA_METHOD
-implementations (eg. from an
+implementations (e.g. from an
.Vt ENGINE
module that supports embedded hardware-protected keys),
and in such cases attempting to change the
@@ -296,7 +298,7 @@ RSA API without requiring changing these function prototypes.
.Sh CAVEATS
As of version 0.9.7,
.Vt RSA_METHOD
-implementations are grouped together with other algorithmic APIs (eg.\&
+implementations are grouped together with other algorithmic APIs (e.g.\&
.Vt DSA_METHOD ,
.Vt EVP_CIPHER ,
etc.) into
@@ -307,7 +309,7 @@ If a default
is specified for RSA functionality using an
.Xr engine 3
API function, that will override any RSA defaults set using the RSA
-API, ie.\&
+API, i.e.\&
.Fn RSA_set_default_method .
For this reason, the
.Xr engine 3
diff --git a/lib/libcrypto/man/RSA_sign.3 b/lib/libcrypto/man/RSA_sign.3
index 2b9e5eb6f1e..afc24e65814 100644
--- a/lib/libcrypto/man/RSA_sign.3
+++ b/lib/libcrypto/man/RSA_sign.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_sign.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_SIGN 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RSA_sign_ASN1_OCTET_STRING.3 b/lib/libcrypto/man/RSA_sign_ASN1_OCTET_STRING.3
index 7398a294c9e..ea7801586da 100644
--- a/lib/libcrypto/man/RSA_sign_ASN1_OCTET_STRING.3
+++ b/lib/libcrypto/man/RSA_sign_ASN1_OCTET_STRING.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_sign_ASN1_OCTET_STRING.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_SIGN_ASN1_OCTET_STRING 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/RSA_size.3 b/lib/libcrypto/man/RSA_size.3
index 8b9a4d05523..b96d778b954 100644
--- a/lib/libcrypto/man/RSA_size.3
+++ b/lib/libcrypto/man/RSA_size.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: RSA_size.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt RSA_SIZE 3
.Os
.Sh NAME
@@ -18,7 +20,7 @@ encrypted value.
.Fa rsa->n
must not be
.Dv NULL .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
The size in bytes.
.Sh SEE ALSO
.Xr rsa 3
diff --git a/lib/libcrypto/man/SHA1.3 b/lib/libcrypto/man/SHA1.3
index c873a8cbb70..48292c1e31d 100644
--- a/lib/libcrypto/man/SHA1.3
+++ b/lib/libcrypto/man/SHA1.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: SHA1.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt SHA1 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/SMIME_read_PKCS7.3 b/lib/libcrypto/man/SMIME_read_PKCS7.3
index 2e7fcb514c2..3c4f8ee3d3c 100644
--- a/lib/libcrypto/man/SMIME_read_PKCS7.3
+++ b/lib/libcrypto/man/SMIME_read_PKCS7.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: SMIME_read_PKCS7.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt SMIME_READ_PKCS7 3
.Os
.Sh NAME
@@ -77,8 +79,7 @@ The error can be obtained from
.Xr PKCS7_encrypt 3 ,
.Xr PKCS7_sign 3 ,
.Xr PKCS7_type 3 ,
-.Xr PKCS7_verify 3 ,
-.Xr SMIME_read_PKCS7 3
+.Xr PKCS7_verify 3
.Sh HISTORY
.Fn SMIME_read_PKCS7
was added to OpenSSL 0.9.5.
diff --git a/lib/libcrypto/man/SMIME_write_PKCS7.3 b/lib/libcrypto/man/SMIME_write_PKCS7.3
index f4f465e2e49..8e4a0ccd755 100644
--- a/lib/libcrypto/man/SMIME_write_PKCS7.3
+++ b/lib/libcrypto/man/SMIME_write_PKCS7.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: SMIME_write_PKCS7.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt SMIME_WRITE_PKCS7 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/UI_new.3 b/lib/libcrypto/man/UI_new.3
index 9d0c518791c..79078eb24cc 100644
--- a/lib/libcrypto/man/UI_new.3
+++ b/lib/libcrypto/man/UI_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 24 2015 $
+.\" $OpenBSD: UI_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt UI_NEW 3
.Os
.Sh NAME
@@ -182,7 +184,7 @@
UI stands for User Interface, and is general purpose set of routines
to prompt the user for text-based information.
Through user-written methods (see
-.Xr ui_create 3 Ns ),
+.Xr ui_create 3 ) ,
prompting can be done in any way imaginable, be it plain text prompting,
through dialog boxes or from a cell phone.
.Pp
@@ -295,7 +297,7 @@ With the builtin method, there's no technical difference between them.
Other methods may make a difference between them, however.
.Pp
The flags currently supported are
-.Dv UI_INPUT_FLAG_ECHO,
+.Dv UI_INPUT_FLAG_ECHO ,
which is relevant for
.Fn UI_add_input_string
and will have the users response be echoed (when prompting for a
diff --git a/lib/libcrypto/man/X509_NAME_ENTRY_get_object.3 b/lib/libcrypto/man/X509_NAME_ENTRY_get_object.3
index 97978ea5425..eb0fedd9bb2 100644
--- a/lib/libcrypto/man/X509_NAME_ENTRY_get_object.3
+++ b/lib/libcrypto/man/X509_NAME_ENTRY_get_object.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_NAME_ENTRY_get_object.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_NAME_ENTRY_GET_OBJECT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3 b/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
index c77763cc68b..b83ac6d4786 100644
--- a/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
+++ b/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_NAME_add_entry_by_txt.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_NAME_ADD_ENTRY_BY_TXT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_NAME_get_index_by_NID.3 b/lib/libcrypto/man/X509_NAME_get_index_by_NID.3
index 4710fd1ec2d..efd74f07e93 100644
--- a/lib/libcrypto/man/X509_NAME_get_index_by_NID.3
+++ b/lib/libcrypto/man/X509_NAME_get_index_by_NID.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_NAME_get_index_by_NID.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_NAME_GET_INDEX_BY_NID 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_NAME_print_ex.3 b/lib/libcrypto/man/X509_NAME_print_ex.3
index ca5fc61e181..6692765c99e 100644
--- a/lib/libcrypto/man/X509_NAME_print_ex.3
+++ b/lib/libcrypto/man/X509_NAME_print_ex.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_NAME_print_ex.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_NAME_PRINT_EX 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_STORE_CTX_get_error.3 b/lib/libcrypto/man/X509_STORE_CTX_get_error.3
index f31e438cdee..85b7ac06f0f 100644
--- a/lib/libcrypto/man/X509_STORE_CTX_get_error.3
+++ b/lib/libcrypto/man/X509_STORE_CTX_get_error.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_STORE_CTX_get_error.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_STORE_CTX_GET_ERROR 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_STORE_CTX_get_ex_new_index.3 b/lib/libcrypto/man/X509_STORE_CTX_get_ex_new_index.3
index 511933d4a16..5762f89eccf 100644
--- a/lib/libcrypto/man/X509_STORE_CTX_get_ex_new_index.3
+++ b/lib/libcrypto/man/X509_STORE_CTX_get_ex_new_index.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_STORE_CTX_get_ex_new_index.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_STORE_CTX_GET_EX_NEW_INDEX 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_STORE_CTX_new.3 b/lib/libcrypto/man/X509_STORE_CTX_new.3
index 6a4b9e3e534..ffb50b6564e 100644
--- a/lib/libcrypto/man/X509_STORE_CTX_new.3
+++ b/lib/libcrypto/man/X509_STORE_CTX_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_STORE_CTX_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_STORE_CTX_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_STORE_CTX_set_verify_cb.3 b/lib/libcrypto/man/X509_STORE_CTX_set_verify_cb.3
index f588bd7d70e..f9679e88ff4 100644
--- a/lib/libcrypto/man/X509_STORE_CTX_set_verify_cb.3
+++ b/lib/libcrypto/man/X509_STORE_CTX_set_verify_cb.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_STORE_CTX_set_verify_cb.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_STORE_CTX_SET_VERIFY_CB 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_STORE_set_verify_cb_func.3 b/lib/libcrypto/man/X509_STORE_set_verify_cb_func.3
index 5db4313047f..32a6d7c3290 100644
--- a/lib/libcrypto/man/X509_STORE_set_verify_cb_func.3
+++ b/lib/libcrypto/man/X509_STORE_set_verify_cb_func.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_STORE_set_verify_cb_func.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_STORE_SET_VERIFY_CB_FUNC 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3 b/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3
index 66724ed169b..43da66c6d16 100644
--- a/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3
+++ b/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_VERIFY_PARAM_set_flags.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_VERIFY_PARAM_SET_FLAGS 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_new.3 b/lib/libcrypto/man/X509_new.3
index 26c46ae3a97..00343e17645 100644
--- a/lib/libcrypto/man/X509_new.3
+++ b/lib/libcrypto/man/X509_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/X509_verify_cert.3 b/lib/libcrypto/man/X509_verify_cert.3
index fd3d6bebda8..fab813ffaa6 100644
--- a/lib/libcrypto/man/X509_verify_cert.3
+++ b/lib/libcrypto/man/X509_verify_cert.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: X509_verify_cert.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509_VERIFY_CERT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/bn.3 b/lib/libcrypto/man/bn.3
index 51bf586a846..61ea3ee6fe3 100644
--- a/lib/libcrypto/man/bn.3
+++ b/lib/libcrypto/man/bn.3
@@ -1,3 +1,5 @@
+.\" $OpenBSD: bn.3,v 1.4 2016/11/06 15:52:50 jmc Exp $
+.\"
.Dd $Mdocdate: November 6 2016 $
.Dt BN 3
.Os
diff --git a/lib/libcrypto/man/crypto.3 b/lib/libcrypto/man/crypto.3
index 3f2c8ca9dd3..dde0f76d799 100644
--- a/lib/libcrypto/man/crypto.3
+++ b/lib/libcrypto/man/crypto.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: October 5 2016 $
+.\" $OpenBSD: crypto.3,v 1.4 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt CRYPTO 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_ASN1_OBJECT.3 b/lib/libcrypto/man/d2i_ASN1_OBJECT.3
index 686101cff5b..6e8ac209290 100644
--- a/lib/libcrypto/man/d2i_ASN1_OBJECT.3
+++ b/lib/libcrypto/man/d2i_ASN1_OBJECT.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: d2i_ASN1_OBJECT.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_ASN1_OBJECT 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_DHparams.3 b/lib/libcrypto/man/d2i_DHparams.3
index 73aec0269bc..e6c08b6415b 100644
--- a/lib/libcrypto/man/d2i_DHparams.3
+++ b/lib/libcrypto/man/d2i_DHparams.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: d2i_DHparams.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_DHPARAMS 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_DSAPublicKey.3 b/lib/libcrypto/man/d2i_DSAPublicKey.3
index aff5d0f814b..3a877065140 100644
--- a/lib/libcrypto/man/d2i_DSAPublicKey.3
+++ b/lib/libcrypto/man/d2i_DSAPublicKey.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: d2i_DSAPublicKey.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_DSAPUBLICKEY 3
.Os
.Sh NAME
@@ -146,7 +148,7 @@ fields is encoded.
.Pp
The
.Fn *_DSAPrivateKey
-functions also use a non-standard structure consisting consisting of a
+functions also use a non-standard structure consisting of a
SEQUENCE containing the
.Fa a->p ,
.Fa a->q ,
diff --git a/lib/libcrypto/man/d2i_ECPKParameters.3 b/lib/libcrypto/man/d2i_ECPKParameters.3
index 71d84b95c9e..29aaa184a36 100644
--- a/lib/libcrypto/man/d2i_ECPKParameters.3
+++ b/lib/libcrypto/man/d2i_ECPKParameters.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: d2i_ECPKParameters.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_ECPKPARAMETERS 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 b/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3
index 9eb5fadfab6..0e6c2923ef8 100644
--- a/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3
+++ b/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 12 2015 $
+.\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_PKCS8PRIVATEKEY_BIO 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_RSAPublicKey.3 b/lib/libcrypto/man/d2i_RSAPublicKey.3
index b54487a6217..72530c7dac2 100644
--- a/lib/libcrypto/man/d2i_RSAPublicKey.3
+++ b/lib/libcrypto/man/d2i_RSAPublicKey.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: d2i_RSAPublicKey.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_RSAPUBLICKEY 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_X509.3 b/lib/libcrypto/man/d2i_X509.3
index 09c65afa585..899a801c446 100644
--- a/lib/libcrypto/man/d2i_X509.3
+++ b/lib/libcrypto/man/d2i_X509.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: d2i_X509.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_X509 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_X509_ALGOR.3 b/lib/libcrypto/man/d2i_X509_ALGOR.3
index e17678019b1..93ff6a450bd 100644
--- a/lib/libcrypto/man/d2i_X509_ALGOR.3
+++ b/lib/libcrypto/man/d2i_X509_ALGOR.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: d2i_X509_ALGOR.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_X509_ALGOR 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_X509_CRL.3 b/lib/libcrypto/man/d2i_X509_CRL.3
index e487da16d0d..b42dc0338ee 100644
--- a/lib/libcrypto/man/d2i_X509_CRL.3
+++ b/lib/libcrypto/man/d2i_X509_CRL.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: d2i_X509_CRL.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_X509_CRL 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_X509_NAME.3 b/lib/libcrypto/man/d2i_X509_NAME.3
index b145bf5b582..7687e8e7c5a 100644
--- a/lib/libcrypto/man/d2i_X509_NAME.3
+++ b/lib/libcrypto/man/d2i_X509_NAME.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: d2i_X509_NAME.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_X509_NAME 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_X509_REQ.3 b/lib/libcrypto/man/d2i_X509_REQ.3
index c69cd00fb15..85bce67eebd 100644
--- a/lib/libcrypto/man/d2i_X509_REQ.3
+++ b/lib/libcrypto/man/d2i_X509_REQ.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: d2i_X509_REQ.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_X509_REQ 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/d2i_X509_SIG.3 b/lib/libcrypto/man/d2i_X509_SIG.3
index 5356dd67de7..0f0163d0b2a 100644
--- a/lib/libcrypto/man/d2i_X509_SIG.3
+++ b/lib/libcrypto/man/d2i_X509_SIG.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: d2i_X509_SIG.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt D2I_X509_SIG 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/des_read_pw.3 b/lib/libcrypto/man/des_read_pw.3
index 4b0bf2b52ac..87410b3c527 100644
--- a/lib/libcrypto/man/des_read_pw.3
+++ b/lib/libcrypto/man/des_read_pw.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 15 2015 $
+.\" $OpenBSD: des_read_pw.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DES_READ_PW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/dh.3 b/lib/libcrypto/man/dh.3
index 2a8f172e2b1..6a790d3e6b1 100644
--- a/lib/libcrypto/man/dh.3
+++ b/lib/libcrypto/man/dh.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: dh.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt DH 3
.Os
.Sh NAME
@@ -123,7 +125,7 @@ Note that DH keys may use non-standard
implementations, either directly or by the use of
.Vt ENGINE
modules.
-In some cases (eg. an
+In some cases (e.g. an
.Vt ENGINE
providing support for hardware-embedded keys), these
.Vt BIGNUM
diff --git a/lib/libcrypto/man/dsa.3 b/lib/libcrypto/man/dsa.3
index 102cf6e5e45..4e552df8355 100644
--- a/lib/libcrypto/man/dsa.3
+++ b/lib/libcrypto/man/dsa.3
@@ -1,3 +1,5 @@
+.\" $OpenBSD: dsa.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
.Dd $Mdocdate: November 6 2016 $
.Dt DSA 3
.Os
@@ -39,7 +41,7 @@ Note that DSA keys may use non-standard
implementations, either directly or by the use of
.Vt ENGINE
modules.
-In some cases (eg. an
+In some cases (e.g. an
.Vt ENGINE
providing support for hardware-embedded keys), these
.Vt BIGNUM
diff --git a/lib/libcrypto/man/ec.3 b/lib/libcrypto/man/ec.3
index 3ecdd5dd8d5..c48cc624109 100644
--- a/lib/libcrypto/man/ec.3
+++ b/lib/libcrypto/man/ec.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: ec.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EC 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/engine.3 b/lib/libcrypto/man/engine.3
index 3624fa76e47..7ecc5f3bb22 100644
--- a/lib/libcrypto/man/engine.3
+++ b/lib/libcrypto/man/engine.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: engine.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt ENGINE 3
.Os
.Sh NAME
@@ -511,7 +513,7 @@ Due to the modular nature of the
.Nm engine
API, pointers to
.Vt ENGINE Ns s
-need to be treated as handles - ie. not only as pointers, but also
+need to be treated as handles - i.e. not only as pointers, but also
as references to the underlying
.Vt ENGINE
object.
@@ -527,8 +529,8 @@ At the most basic level, each
pointer is inherently a
.Sy structural
reference - a structural reference is required to use the pointer value
-at all, as this kind of reference is a guarantee that the structure can
-not be deallocated until the reference is released.
+at all, as this kind of reference is a guarantee that the structure cannot
+be deallocated until the reference is released.
.Pp
However, a structural reference provides no guarantee that the
.Vt ENGINE
@@ -653,7 +655,7 @@ function.
This returns zero if the
.Vt ENGINE
was not already operational and couldn't be successfully initialised
-(eg. lack of system drivers, no special hardware attached, etc.),
+(e.g. lack of system drivers, no special hardware attached),
otherwise it will return non-zero to indicate that the
.Vt ENGINE
is now operational and will have allocated a new
@@ -665,7 +667,7 @@ All functional references are released by calling
which removes the implicit structural reference as well.
.Pp
The second way to get a functional reference is by asking OpenSSL for a
-default implementation for a given task, eg.
+default implementation for a given task, e.g.
by
.Fn ENGINE_get_default_RSA ,
.Fn ENGINE_get_default_cipher_engine ,
@@ -697,7 +699,7 @@ index.
.Pp
When a default
.Vt ENGINE
-is requested for a given abstraction/algorithm/mode, (eg. when
+is requested for a given abstraction/algorithm/mode, (e.g. when
calling
.Fn RSA_new_method NULL ) ,
a "get_default" call will be made to the
@@ -781,7 +783,7 @@ code at all.
So the first consideration is whether any/all available
.Vt ENGINE
implementations should be made visible to OpenSSL.
-This is controlled by calling the various "load" functions, eg.
+This is controlled by calling the various "load" functions, e.g.
.Fn ENGINE_load_builtin_engines
to make all
.Vt ENGINE
@@ -836,7 +838,7 @@ they want used if any is to be used at all.
Others may prefer to load all support and have OpenSSL automatically use
at run-time any
.Vt ENGINE
-that is able to successfully initialised - ie. to assume that this
+that is able to successfully initialised - i.e. to assume that this
corresponds to acceleration hardware attached to the machine or
some such thing.
There are probably numerous other ways in which applications may prefer
@@ -942,11 +944,11 @@ nothing at all specific to the host system) so that it can be
initialised for use.
This could include the path to any driver or config files it needs to
load, required network addresses, smart-card identifiers, passwords to
-initialise protected devices, logging information, etc etc.
+initialise protected devices, logging information, etc.
This class of commands typically needs to be passed to an
.Vt ENGINE
.Sy before
-attempting to initialise it, ie. before calling
+attempting to initialise it, i.e. before calling
.Fn ENGINE_init .
The other class of commands consist of settings or operations that tweak
certain behaviour or cause certain operations to take place, and these
@@ -1049,7 +1051,7 @@ using a structural reference.
Note that some control commands are defined by OpenSSL itself and it
will intercept and handle these control commands on behalf of the
.Vt ENGINE ,
-ie. the
+i.e. the
.Vt ENGINE Ap s
ctrl() handler is not used for the control command.
.In openssl/engine.h
@@ -1160,7 +1162,7 @@ arbitrary type.
These commands are supported in the discovery mechanisms simply allow
applications to determine if an
.Vt ENGINE
-supports certain specific commands it might want to use (eg.
+supports certain specific commands it might want to use (e.g.
application "foo" might query various
.Vt ENGINE Ns s
to see if they implement "FOO_GET_VENDOR_LOGO_GIF" - and
@@ -1173,7 +1175,8 @@ The
API and internal architecture is currently being reviewed.
Slated for possible release in 0.9.8 is support for transparent loading
of "dynamic"
-.Vt ENGINE Ns s (built as self-contained shared libraries).
+.Vt ENGINE Ns s
+(built as self-contained shared libraries).
This would allow
.Vt ENGINE
implementations to be provided independently of
diff --git a/lib/libcrypto/man/evp.3 b/lib/libcrypto/man/evp.3
index 7bf7dfec818..832009f3a08 100644
--- a/lib/libcrypto/man/evp.3
+++ b/lib/libcrypto/man/evp.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: evp.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt EVP 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/i2d_PKCS7_bio_stream.3 b/lib/libcrypto/man/i2d_PKCS7_bio_stream.3
index 755bf3eb86b..04ec0bcc74b 100644
--- a/lib/libcrypto/man/i2d_PKCS7_bio_stream.3
+++ b/lib/libcrypto/man/i2d_PKCS7_bio_stream.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 3 2016 $
+.\" $OpenBSD: i2d_PKCS7_bio_stream.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt I2D_PKCS7_BIO_STREAM 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/lh_new.3 b/lib/libcrypto/man/lh_new.3
index 2779cf9202b..6552446859b 100644
--- a/lib/libcrypto/man/lh_new.3
+++ b/lib/libcrypto/man/lh_new.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 12 2015 $
+.\" $OpenBSD: lh_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt LH_NEW 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/lh_stats.3 b/lib/libcrypto/man/lh_stats.3
index b56bb819799..a9d5f9e67b4 100644
--- a/lib/libcrypto/man/lh_stats.3
+++ b/lib/libcrypto/man/lh_stats.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 5 2016 $
+.\" $OpenBSD: lh_stats.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt LH_STATS 3
.Os
.Sh NAME
diff --git a/lib/libcrypto/man/rsa.3 b/lib/libcrypto/man/rsa.3
index eea271e66d5..528adb378be 100644
--- a/lib/libcrypto/man/rsa.3
+++ b/lib/libcrypto/man/rsa.3
@@ -1,3 +1,5 @@
+.\" $OpenBSD: rsa.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\"
.Dd $Mdocdate: November 6 2016 $
.Dt RSA 3
.Os
@@ -47,7 +49,7 @@ Note that RSA keys may use non-standard
implementations, either directly or by the use of
.Vt ENGINE
modules.
-In some cases (eg. an
+In some cases (e.g. an
.Vt ENGINE
providing support for hardware-embedded keys), these
.Vt BIGNUM
diff --git a/lib/libcrypto/man/x509.3 b/lib/libcrypto/man/x509.3
index 1f7b7f41280..02e31fcb26c 100644
--- a/lib/libcrypto/man/x509.3
+++ b/lib/libcrypto/man/x509.3
@@ -1,4 +1,6 @@
-.Dd $Mdocdate: November 4 2016 $
+.\" $OpenBSD: x509.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\"
+.Dd $Mdocdate: November 6 2016 $
.Dt X509 3
.Os
.Sh NAME