[pkg-opensc-commit] [libp11] 45/67: Added vim modelines to preserve formatting

Eric Dorland eric at moszumanska.debian.org
Sat Jan 30 05:34:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libp11.

commit 35a82e85c7344ccddea616af5f72c2c7e9e46ee5
Author: Michał Trojnara <Michal.Trojnara at stunnel.org>
Date:   Thu Jan 7 14:59:21 2016 +0100

    Added vim modelines to preserve formatting
---
 Makefile.am           | 2 ++
 configure.ac          | 2 ++
 examples/auth.c       | 2 ++
 examples/decrypt.c    | 2 ++
 examples/getrandom.c  | 2 ++
 examples/listkeys.c   | 2 ++
 examples/rawrsasign.c | 2 ++
 src/atfork.c          | 2 ++
 src/atfork.h          | 2 ++
 src/libp11-int.h      | 2 ++
 src/libp11.h          | 2 ++
 src/libpkcs11.c       | 2 ++
 src/p11_attr.c        | 2 ++
 src/p11_cert.c        | 2 ++
 src/p11_ec.c          | 2 ++
 src/p11_err.c         | 2 ++
 src/p11_key.c         | 2 ++
 src/p11_load.c        | 2 ++
 src/p11_misc.c        | 2 ++
 src/p11_ops.c         | 1 +
 src/p11_rsa.c         | 2 ++
 src/p11_slot.c        | 2 ++
 tests/fork-test.c     | 2 ++
 23 files changed, 45 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index ec25d30..2632da0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,3 +24,5 @@ SUBDIRS = src doc tests examples
 dist-hook:
 	$(MKDIR_P) "$(distdir)/m4"
 	echo > "$(distdir)/packaged"
+
+# vim: set noexpandtab:
diff --git a/configure.ac b/configure.ac
index 6491280..25bd99a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -219,3 +219,5 @@ OPENSSL_CFLAGS:          ${OPENSSL_CFLAGS}
 OPENSSL_LIBS:            ${OPENSSL_LIBS}
 
 EOF
+
+# vim: set noexpandtab:
diff --git a/examples/auth.c b/examples/auth.c
index a23fef4..9180ae4 100644
--- a/examples/auth.c
+++ b/examples/auth.c
@@ -249,3 +249,5 @@ nolib:
 	printf("authentication failed.\n");
 	return 1;
 }
+
+/* vim: set noexpandtab: */
diff --git a/examples/decrypt.c b/examples/decrypt.c
index 4715924..d813972 100644
--- a/examples/decrypt.c
+++ b/examples/decrypt.c
@@ -239,3 +239,5 @@ nolib:
 	printf("decryption failed.\n");
 	return 1;
 }
+
+/* vim: set noexpandtab: */
diff --git a/examples/getrandom.c b/examples/getrandom.c
index d49de7f..f0c4444 100644
--- a/examples/getrandom.c
+++ b/examples/getrandom.c
@@ -86,3 +86,5 @@ nolib:
 	PKCS11_CTX_free(ctx);
 	return rc;
 }
+
+/* vim: set noexpandtab: */
diff --git a/examples/listkeys.c b/examples/listkeys.c
index f7a49d8..5e4249b 100644
--- a/examples/listkeys.c
+++ b/examples/listkeys.c
@@ -134,3 +134,5 @@ static void error_queue(const char *name)
 		ERR_print_errors_fp(stderr);
 	}
 }
+
+/* vim: set noexpandtab: */
diff --git a/examples/rawrsasign.c b/examples/rawrsasign.c
index 3c594d9..f2285cd 100644
--- a/examples/rawrsasign.c
+++ b/examples/rawrsasign.c
@@ -299,3 +299,5 @@ end:
 
 	return ret;
 }
+
+/* vim: set noexpandtab: */
diff --git a/src/atfork.c b/src/atfork.c
index fbc30c6..ceae1a6 100644
--- a/src/atfork.c
+++ b/src/atfork.c
@@ -86,3 +86,5 @@ int _P11_register_fork_handler(void)
 # endif
 
 #endif /* !_WIN32 */
+
+/* vim: set noexpandtab: */
diff --git a/src/atfork.h b/src/atfork.h
index ebb0eb0..35c1ac8 100644
--- a/src/atfork.h
+++ b/src/atfork.h
@@ -61,3 +61,5 @@ unsigned int _P11_get_forkid(void);
 #endif
 
 #endif
+
+/* vim: set noexpandtab: */
diff --git a/src/libp11-int.h b/src/libp11-int.h
index d4619aa..0de018b 100644
--- a/src/libp11-int.h
+++ b/src/libp11-int.h
@@ -191,3 +191,5 @@ extern PKCS11_KEY_ops pkcs11_rsa_ops;
 extern PKCS11_KEY_ops *pkcs11_ec_ops;
 
 #endif
+
+/* vim: set noexpandtab: */
diff --git a/src/libp11.h b/src/libp11.h
index 17039d3..602a9d7 100644
--- a/src/libp11.h
+++ b/src/libp11.h
@@ -463,3 +463,5 @@ extern void ERR_load_PKCS11_strings(void);
 }
 #endif
 #endif
+
+/* vim: set noexpandtab: */
diff --git a/src/libpkcs11.c b/src/libpkcs11.c
index 85bc5ff..6e36c51 100644
--- a/src/libpkcs11.c
+++ b/src/libpkcs11.c
@@ -121,3 +121,5 @@ C_UnloadModule(void *module)
 
 	return CKR_OK;
 }
+
+/* vim: set noexpandtab: */
diff --git a/src/p11_attr.c b/src/p11_attr.c
index 7ac1bcc..3582963 100644
--- a/src/p11_attr.c
+++ b/src/p11_attr.c
@@ -178,3 +178,5 @@ void pkcs11_zap_attrs(CK_ATTRIBUTE_PTR ap, unsigned int n)
 			OPENSSL_free(ap[n].pValue);
 	}
 }
+
+/* vim: set noexpandtab: */
diff --git a/src/p11_cert.c b/src/p11_cert.c
index 3576772..2c91666 100644
--- a/src/p11_cert.c
+++ b/src/p11_cert.c
@@ -270,3 +270,5 @@ PKCS11_store_certificate(PKCS11_TOKEN * token, X509 * x509, char *label,
 	/* Gobble the key object */
 	return pkcs11_init_cert(ctx, token, session, object, ret_cert);
 }
+
+/* vim: set noexpandtab: */
diff --git a/src/p11_ec.c b/src/p11_ec.c
index 0aa984c..9630611 100644
--- a/src/p11_ec.c
+++ b/src/p11_ec.c
@@ -335,3 +335,5 @@ void PKCS11_ecdsa_method_free(void)
 }
 
 #endif /* LIBP11_BUILD_WITHOUT_ECDSA */
+
+/* vim: set noexpandtab: */
diff --git a/src/p11_err.c b/src/p11_err.c
index ef373fd..9e5091a 100644
--- a/src/p11_err.c
+++ b/src/p11_err.c
@@ -158,3 +158,5 @@ void ERR_load_PKCS11_strings(void)
 #endif
 	}
 }
+
+/* vim: set noexpandtab: */
diff --git a/src/p11_key.c b/src/p11_key.c
index 573a5ff..5e26730 100644
--- a/src/p11_key.c
+++ b/src/p11_key.c
@@ -500,3 +500,5 @@ void pkcs11_destroy_keys(PKCS11_TOKEN * token, unsigned int type)
 	keys->keys = NULL;
 	keys->num = -1;
 }
+
+/* vim: set noexpandtab: */
diff --git a/src/p11_load.c b/src/p11_load.c
index a6d6b3d..522737d 100644
--- a/src/p11_load.c
+++ b/src/p11_load.c
@@ -173,3 +173,5 @@ void PKCS11_CTX_free(PKCS11_CTX * ctx)
 	OPENSSL_free(ctx->_private);
 	OPENSSL_free(ctx);
 }
+
+/* vim: set noexpandtab: */
diff --git a/src/p11_misc.c b/src/p11_misc.c
index 4c15263..0d0d9e0 100644
--- a/src/p11_misc.c
+++ b/src/p11_misc.c
@@ -164,3 +164,5 @@ int check_key_fork(PKCS11_KEY *key)
 	CRYPTO_w_unlock(priv->lockid);
 	return rv;
 }
+
+/* vim: set noexpandtab: */
diff --git a/src/p11_ops.c b/src/p11_ops.c
index 703e090..3563f18 100644
--- a/src/p11_ops.c
+++ b/src/p11_ops.c
@@ -254,3 +254,4 @@ PKCS11_verify(int type, const unsigned char *m, unsigned int m_len,
 	return -1;
 }
 
+/* vim: set noexpandtab: */
diff --git a/src/p11_rsa.c b/src/p11_rsa.c
index 9afaaed..6b08749 100644
--- a/src/p11_rsa.c
+++ b/src/p11_rsa.c
@@ -229,3 +229,5 @@ PKCS11_KEY_ops pkcs11_rsa_ops = {
 	EVP_PKEY_RSA,
 	pkcs11_get_evp_key_rsa
 };
+
+/* vim: set noexpandtab: */
diff --git a/src/p11_slot.c b/src/p11_slot.c
index 3588a3b..37c38fa 100644
--- a/src/p11_slot.c
+++ b/src/p11_slot.c
@@ -564,3 +564,5 @@ static void pkcs11_destroy_token(PKCS11_TOKEN * token)
 	OPENSSL_free(token->_private);
 	memset(token, 0, sizeof(*token));
 }
+
+/* vim: set noexpandtab: */
diff --git a/tests/fork-test.c b/tests/fork-test.c
index 55fe818..19e7c72 100644
--- a/tests/fork-test.c
+++ b/tests/fork-test.c
@@ -258,3 +258,5 @@ static void error_queue(const char *name)
 		ERR_print_errors_fp(stderr);
 	}
 }
+
+/* vim: set noexpandtab: */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git



More information about the pkg-opensc-commit mailing list