From 9e20068958b8c1772067299dda7df0b8a82283b4 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Wed, 18 May 2016 09:16:36 -0400 Subject: [PATCH] Consolidate copyright for demos Reviewed-by: Richard Levitte --- demos/bio/client-arg.c | 9 +++++++++ demos/bio/client-conf.c | 9 +++++++++ demos/bio/saccept.c | 9 +++++++++ demos/bio/sconnect.c | 9 +++++++++ demos/bio/server-arg.c | 9 +++++++++ demos/bio/server-cmod.c | 9 +++++++++ demos/bio/server-conf.c | 9 +++++++++ demos/cms/cms_comp.c | 9 +++++++++ demos/cms/cms_ddec.c | 9 +++++++++ demos/cms/cms_dec.c | 9 +++++++++ demos/cms/cms_denc.c | 9 +++++++++ demos/cms/cms_enc.c | 9 +++++++++ demos/cms/cms_sign.c | 9 +++++++++ demos/cms/cms_sign2.c | 9 +++++++++ demos/cms/cms_uncomp.c | 9 +++++++++ demos/cms/cms_ver.c | 9 +++++++++ demos/evp/aesccm.c | 9 +++++++++ demos/evp/aesgcm.c | 9 +++++++++ demos/pkcs12/pkread.c | 8 ++++++++ demos/pkcs12/pkwrite.c | 8 ++++++++ demos/smime/smdec.c | 9 +++++++++ demos/smime/smenc.c | 9 +++++++++ demos/smime/smsign.c | 9 +++++++++ demos/smime/smsign2.c | 9 +++++++++ demos/smime/smver.c | 9 +++++++++ 25 files changed, 223 insertions(+) diff --git a/demos/bio/client-arg.c b/demos/bio/client-arg.c index 630b166779..9e136e563d 100644 --- a/demos/bio/client-arg.c +++ b/demos/bio/client-arg.c @@ -1,3 +1,12 @@ +/* + * Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + #include #include #include diff --git a/demos/bio/client-conf.c b/demos/bio/client-conf.c index 4e4d4bc8df..66b5cac47c 100644 --- a/demos/bio/client-conf.c +++ b/demos/bio/client-conf.c @@ -1,3 +1,12 @@ +/* + * Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + #include #include #include diff --git a/demos/bio/saccept.c b/demos/bio/saccept.c index 240132cef9..106a089daf 100644 --- a/demos/bio/saccept.c +++ b/demos/bio/saccept.c @@ -1,3 +1,12 @@ +/* + * Copyright 1998-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /*- * A minimal program to serve an SSL connection. * It uses blocking. diff --git a/demos/bio/sconnect.c b/demos/bio/sconnect.c index 16dba40ff5..284bc30944 100644 --- a/demos/bio/sconnect.c +++ b/demos/bio/sconnect.c @@ -1,3 +1,12 @@ +/* + * Copyright 1998-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /*- * A minimal program to do SSL to a passed host and port. * It is actually using non-blocking IO but in a very simple manner diff --git a/demos/bio/server-arg.c b/demos/bio/server-arg.c index b2a43a9387..4e9b7bdcb0 100644 --- a/demos/bio/server-arg.c +++ b/demos/bio/server-arg.c @@ -1,3 +1,12 @@ +/* + * Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* * A minimal program to serve an SSL connection. It uses blocking. It use the * SSL_CONF API with the command line. cc -I../../include server-arg.c diff --git a/demos/bio/server-cmod.c b/demos/bio/server-cmod.c index 51291da4b8..77b456a459 100644 --- a/demos/bio/server-cmod.c +++ b/demos/bio/server-cmod.c @@ -1,3 +1,12 @@ +/* + * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* * A minimal TLS server it ses SSL_CTX_config and a configuration file to * set most server parameters. diff --git a/demos/bio/server-conf.c b/demos/bio/server-conf.c index db624ba1fb..32abefdf1d 100644 --- a/demos/bio/server-conf.c +++ b/demos/bio/server-conf.c @@ -1,3 +1,12 @@ +/* + * Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* * A minimal program to serve an SSL connection. It uses blocking. It uses * the SSL_CONF API with a configuration file. cc -I../../include saccept.c diff --git a/demos/cms/cms_comp.c b/demos/cms/cms_comp.c index f902d20e6d..0d548f93ca 100644 --- a/demos/cms/cms_comp.c +++ b/demos/cms/cms_comp.c @@ -1,3 +1,12 @@ +/* + * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* Simple S/MIME compress example */ #include #include diff --git a/demos/cms/cms_ddec.c b/demos/cms/cms_ddec.c index 3b23e8d30b..8f2e9aecb2 100644 --- a/demos/cms/cms_ddec.c +++ b/demos/cms/cms_ddec.c @@ -1,3 +1,12 @@ +/* + * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* * S/MIME detached data decrypt example: rarely done but should the need * arise this is an example.... diff --git a/demos/cms/cms_dec.c b/demos/cms/cms_dec.c index 22181c25ff..4f9428b4e7 100644 --- a/demos/cms/cms_dec.c +++ b/demos/cms/cms_dec.c @@ -1,3 +1,12 @@ +/* + * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* Simple S/MIME decryption example */ #include #include diff --git a/demos/cms/cms_denc.c b/demos/cms/cms_denc.c index 8aa82aa808..adba69b96d 100644 --- a/demos/cms/cms_denc.c +++ b/demos/cms/cms_denc.c @@ -1,3 +1,12 @@ +/* + * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* * S/MIME detached data encrypt example: rarely done but should the need * arise this is an example.... diff --git a/demos/cms/cms_enc.c b/demos/cms/cms_enc.c index f4ba5428ee..4d17d720c6 100644 --- a/demos/cms/cms_enc.c +++ b/demos/cms/cms_enc.c @@ -1,3 +1,12 @@ +/* + * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* Simple S/MIME encrypt example */ #include #include diff --git a/demos/cms/cms_sign.c b/demos/cms/cms_sign.c index 8b5a64d957..15bd5b8dd9 100644 --- a/demos/cms/cms_sign.c +++ b/demos/cms/cms_sign.c @@ -1,3 +1,12 @@ +/* + * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* Simple S/MIME signing example */ #include #include diff --git a/demos/cms/cms_sign2.c b/demos/cms/cms_sign2.c index 9fdd0353bf..14ebf27775 100644 --- a/demos/cms/cms_sign2.c +++ b/demos/cms/cms_sign2.c @@ -1,3 +1,12 @@ +/* + * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* S/MIME signing example: 2 signers */ #include #include diff --git a/demos/cms/cms_uncomp.c b/demos/cms/cms_uncomp.c index 2c10b8120e..3e3b4c4c6e 100644 --- a/demos/cms/cms_uncomp.c +++ b/demos/cms/cms_uncomp.c @@ -1,3 +1,12 @@ +/* + * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* Simple S/MIME uncompression example */ #include #include diff --git a/demos/cms/cms_ver.c b/demos/cms/cms_ver.c index c6e83c054a..43c10e2513 100644 --- a/demos/cms/cms_ver.c +++ b/demos/cms/cms_ver.c @@ -1,3 +1,12 @@ +/* + * Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* Simple S/MIME verification example */ #include #include diff --git a/demos/evp/aesccm.c b/demos/evp/aesccm.c index e0240e5869..cc4d0b5ee9 100644 --- a/demos/evp/aesccm.c +++ b/demos/evp/aesccm.c @@ -1,3 +1,12 @@ +/* + * Copyright 2013-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* * Simple AES CCM test program, uses the same NIST data used for the FIPS * self test but uses the application level EVP APIs. diff --git a/demos/evp/aesgcm.c b/demos/evp/aesgcm.c index 72028a04a0..17b0ef4748 100644 --- a/demos/evp/aesgcm.c +++ b/demos/evp/aesgcm.c @@ -1,3 +1,12 @@ +/* + * Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* * Simple AES GCM test program, uses the same NIST data used for the FIPS * self test but uses the application level EVP APIs. diff --git a/demos/pkcs12/pkread.c b/demos/pkcs12/pkread.c index 373981469d..3b87d7a4ae 100644 --- a/demos/pkcs12/pkread.c +++ b/demos/pkcs12/pkread.c @@ -1,3 +1,11 @@ +/* + * Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ #include #include diff --git a/demos/pkcs12/pkwrite.c b/demos/pkcs12/pkwrite.c index d04a22b8eb..e14cf8327d 100644 --- a/demos/pkcs12/pkwrite.c +++ b/demos/pkcs12/pkwrite.c @@ -1,3 +1,11 @@ +/* + * Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ #include #include diff --git a/demos/smime/smdec.c b/demos/smime/smdec.c index f1a987a34e..c4d1b090d9 100644 --- a/demos/smime/smdec.c +++ b/demos/smime/smdec.c @@ -1,3 +1,12 @@ +/* + * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* Simple S/MIME signing example */ #include #include diff --git a/demos/smime/smenc.c b/demos/smime/smenc.c index 79fe2d0e10..5d36e9a497 100644 --- a/demos/smime/smenc.c +++ b/demos/smime/smenc.c @@ -1,3 +1,12 @@ +/* + * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* Simple S/MIME encrypt example */ #include #include diff --git a/demos/smime/smsign.c b/demos/smime/smsign.c index 8505e7140b..ba0adb3974 100644 --- a/demos/smime/smsign.c +++ b/demos/smime/smsign.c @@ -1,3 +1,12 @@ +/* + * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* Simple S/MIME signing example */ #include #include diff --git a/demos/smime/smsign2.c b/demos/smime/smsign2.c index 415ecf395f..2b7f45b294 100644 --- a/demos/smime/smsign2.c +++ b/demos/smime/smsign2.c @@ -1,3 +1,12 @@ +/* + * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* S/MIME signing example: 2 signers. OpenSSL 0.9.9 only */ #include #include diff --git a/demos/smime/smver.c b/demos/smime/smver.c index 13ba18b9b9..75411c40d0 100644 --- a/demos/smime/smver.c +++ b/demos/smime/smver.c @@ -1,3 +1,12 @@ +/* + * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + /* Simple S/MIME verification example */ #include #include -- 2.34.1