Skip to content

Commit b56534c

Browse files
committed
Microsoft Copyright message added to all new files
New files for openssh win32 port now contain MS Copyright texts.
1 parent a3d0255 commit b56534c

File tree

11 files changed

+331
-125
lines changed

11 files changed

+331
-125
lines changed

contrib/win32/win32compat/ansiprsr.c

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,36 @@
1-
/* ansiprsr.c
2-
* Author: Pragma Systems, Inc. <www.pragmasys.com>
3-
* Contribution by Pragma Systems, Inc. for Microsoft openssh win32 port
4-
* Copyright (c) 2011, 2015 Pragma Systems, Inc.
1+
/*
2+
* Author: Microsoft Corp.
3+
*
4+
* Copyright (c) 2015 Microsoft Corp.
55
* All rights reserved
6-
*
7-
* ANSI Parser to run on Win32 based operating systems.
6+
*
7+
* Microsoft openssh win32 port
88
*
99
* Redistribution and use in source and binary forms, with or without
10-
* modification, are permitted provided that the following conditions are met:
10+
* modification, are permitted provided that the following conditions
11+
* are met:
12+
*
13+
* 1. Redistributions of source code must retain the above copyright
14+
* notice, this list of conditions and the following disclaimer.
15+
* 2. Redistributions in binary form must reproduce the above copyright
16+
* notice, this list of conditions and the following disclaimer in the
17+
* documentation and/or other materials provided with the distribution.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22+
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23+
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28+
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*/
30+
/* ansiprsr.c
31+
*
32+
* ANSI Parser to run on Win32 based operating systems.
1133
*
12-
* 1. Redistributions of source code must retain the above copyright notice.
13-
* 2. Binaries produced provide no direct or implied warranties or any
14-
* guarantee of performance or suitability.
1534
*/
1635

1736
#include <stdlib.h>

contrib/win32/win32compat/ansiprsr.h

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,36 @@
1-
/* ansiprsr.h
2-
* Author: Pragma Systems, Inc. <www.pragmasys.com>
3-
* Contribution by Pragma Systems, Inc. for Microsoft openssh win32 port
4-
* Copyright (c) 2011, 2015 Pragma Systems, Inc.
1+
/*
2+
* Author: Microsoft Corp.
3+
*
4+
* Copyright (c) 2015 Microsoft Corp.
55
* All rights reserved
6-
*
7-
* ANSI Parser header file to run on Win32 based operating systems.
6+
*
7+
* Microsoft openssh win32 port
88
*
99
* Redistribution and use in source and binary forms, with or without
10-
* modification, are permitted provided that the following conditions are met:
10+
* modification, are permitted provided that the following conditions
11+
* are met:
12+
*
13+
* 1. Redistributions of source code must retain the above copyright
14+
* notice, this list of conditions and the following disclaimer.
15+
* 2. Redistributions in binary form must reproduce the above copyright
16+
* notice, this list of conditions and the following disclaimer in the
17+
* documentation and/or other materials provided with the distribution.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22+
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23+
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28+
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*/
30+
/* ansiprsr.h
31+
*
32+
* ANSI Parser header file to run on Win32 based operating systems.
1133
*
12-
* 1. Redistributions of source code must retain the above copyright notice.
13-
* 2. Binaries produced provide no direct or implied warranties or any
14-
* guarantee of performance or suitability.
1534
*/
1635

1736
#ifndef __ANSIPRSR_H

contrib/win32/win32compat/cng_cipher.c

Lines changed: 33 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,37 @@
1+
/*
2+
* Author: Microsoft Corp.
3+
*
4+
* Copyright (c) 2015 Microsoft Corp.
5+
* All rights reserved
6+
*
7+
* Microsoft openssh win32 port
8+
*
9+
* Redistribution and use in source and binary forms, with or without
10+
* modification, are permitted provided that the following conditions
11+
* are met:
12+
*
13+
* 1. Redistributions of source code must retain the above copyright
14+
* notice, this list of conditions and the following disclaimer.
15+
* 2. Redistributions in binary form must reproduce the above copyright
16+
* notice, this list of conditions and the following disclaimer in the
17+
* documentation and/or other materials provided with the distribution.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22+
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23+
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28+
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*/
130
/* cng_cipher.c
2-
* Author: Pragma Systems, Inc. <www.pragmasys.com>
3-
* Contribution by Pragma Systems, Inc. for Microsoft openssh win32 port
4-
* Copyright (c) 2011, 2015 Pragma Systems, Inc.
5-
* All rights reserved
6-
*
7-
* Common library for Windows Console Screen IO.
8-
* Contains Windows console related definition so that emulation code can draw
9-
* on Windows console screen surface.
10-
*
11-
* Redistribution and use in source and binary forms, with or without
12-
* modification, are permitted provided that the following conditions are met:
13-
*
14-
* 1. Redistributions of source code must retain the above copyright notice.
15-
* 2. Binaries produced provide no direct or implied warranties or any
16-
* guarantee of performance or suitability.
17-
*/
31+
*
32+
* Openssh ciphers implemented using Microsoft Crypto Next Generation (CNG).
33+
*
34+
*/
1835

1936
#include <Windows.h>
2037
#include <bcrypt.h>

contrib/win32/win32compat/cng_cipher.h

Lines changed: 33 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,37 @@
1+
/*
2+
* Author: Microsoft Corp.
3+
*
4+
* Copyright (c) 2015 Microsoft Corp.
5+
* All rights reserved
6+
*
7+
* Microsoft openssh win32 port
8+
*
9+
* Redistribution and use in source and binary forms, with or without
10+
* modification, are permitted provided that the following conditions
11+
* are met:
12+
*
13+
* 1. Redistributions of source code must retain the above copyright
14+
* notice, this list of conditions and the following disclaimer.
15+
* 2. Redistributions in binary form must reproduce the above copyright
16+
* notice, this list of conditions and the following disclaimer in the
17+
* documentation and/or other materials provided with the distribution.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22+
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23+
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28+
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*/
130
/* cng_cipher.h
2-
* Author: Pragma Systems, Inc. <www.pragmasys.com>
3-
* Contribution by Pragma Systems, Inc. for Microsoft openssh win32 port
4-
* Copyright (c) 2011, 2015 Pragma Systems, Inc.
5-
* All rights reserved
6-
*
7-
* Common library for Windows Console Screen IO.
8-
* Contains Windows console related definition so that emulation code can draw
9-
* on Windows console screen surface.
10-
*
11-
* Redistribution and use in source and binary forms, with or without
12-
* modification, are permitted provided that the following conditions are met:
13-
*
14-
* 1. Redistributions of source code must retain the above copyright notice.
15-
* 2. Binaries produced provide no direct or implied warranties or any
16-
* guarantee of performance or suitability.
17-
*/
31+
*
32+
* Openssh ciphers implemented using Microsoft Crypto Next Generation (CNG).
33+
*
34+
*/
1835

1936

2037
#ifndef CNG_CIPHER_H

contrib/win32/win32compat/cng_digest.c

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,37 @@
1-
/* digest_cng.c
2-
* Author: Pragma Systems, Inc. <www.pragmasys.com>
3-
* Contribution by Pragma Systems, Inc. for Microsoft openssh win32 port
4-
* Copyright (c) 2011, 2015 Pragma Systems, Inc.
5-
* All rights reserved
6-
*
7-
* Common library for Windows Console Screen IO.
8-
* Contains Windows console related definition so that emulation code can draw
9-
* on Windows console screen surface.
10-
*
11-
* Redistribution and use in source and binary forms, with or without
12-
* modification, are permitted provided that the following conditions are met:
13-
*
14-
* 1. Redistributions of source code must retain the above copyright notice.
15-
* 2. Binaries produced provide no direct or implied warranties or any
16-
* guarantee of performance or suitability.
17-
*/
1+
/*
2+
* Author: Microsoft Corp.
3+
*
4+
* Copyright (c) 2015 Microsoft Corp.
5+
* All rights reserved
6+
*
7+
* Microsoft openssh win32 port
8+
*
9+
* Redistribution and use in source and binary forms, with or without
10+
* modification, are permitted provided that the following conditions
11+
* are met:
12+
*
13+
* 1. Redistributions of source code must retain the above copyright
14+
* notice, this list of conditions and the following disclaimer.
15+
* 2. Redistributions in binary form must reproduce the above copyright
16+
* notice, this list of conditions and the following disclaimer in the
17+
* documentation and/or other materials provided with the distribution.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22+
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23+
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28+
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*/
30+
/* cng_digest.c
31+
*
32+
* Openssh digests implemented using Microsoft Crypto Next Generation (CNG).
33+
*
34+
*/
1835

1936
typedef unsigned int u_int;
2037
typedef unsigned char u_char;

contrib/win32/win32compat/conio.c

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,36 @@
1-
/* conio.c
2-
* Author: Pragma Systems, Inc. <www.pragmasys.com>
3-
* Contribution by Pragma Systems, Inc. for Microsoft openssh win32 port
4-
* Copyright (c) 2011, 2015 Pragma Systems, Inc.
1+
/*
2+
* Author: Microsoft Corp.
3+
*
4+
* Copyright (c) 2015 Microsoft Corp.
55
* All rights reserved
66
*
7-
* Inserts data into Windows Console Input. WriteToConsole() API implemented.
7+
* Microsoft openssh win32 port
88
*
99
* Redistribution and use in source and binary forms, with or without
10-
* modification, are permitted provided that the following conditions are met:
10+
* modification, are permitted provided that the following conditions
11+
* are met:
12+
*
13+
* 1. Redistributions of source code must retain the above copyright
14+
* notice, this list of conditions and the following disclaimer.
15+
* 2. Redistributions in binary form must reproduce the above copyright
16+
* notice, this list of conditions and the following disclaimer in the
17+
* documentation and/or other materials provided with the distribution.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22+
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23+
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28+
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*/
30+
/* conio.c
31+
*
32+
* Inserts data into Windows Console Input. Needed WriteToConsole() API implemented.
1133
*
12-
* 1. Redistributions of source code must retain the above copyright notice.
13-
* 2. Binaries produced provide no direct or implied warranties or any
14-
* guarantee of performance or suitability.
1534
*/
1635

1736
#include <stdlib.h>

contrib/win32/win32compat/console.c

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,38 @@
1-
/* console.c
2-
* Author: Pragma Systems, Inc. <www.pragmasys.com>
3-
* Contribution by Pragma Systems, Inc. for Microsoft openssh win32 port
4-
* Copyright (c) 2011, 2015 Pragma Systems, Inc.
1+
/*
2+
* Author: Microsoft Corp.
3+
*
4+
* Copyright (c) 2015 Microsoft Corp.
55
* All rights reserved
6+
*
7+
* Microsoft openssh win32 port
8+
*
9+
* Redistribution and use in source and binary forms, with or without
10+
* modification, are permitted provided that the following conditions
11+
* are met:
12+
*
13+
* 1. Redistributions of source code must retain the above copyright
14+
* notice, this list of conditions and the following disclaimer.
15+
* 2. Redistributions in binary form must reproduce the above copyright
16+
* notice, this list of conditions and the following disclaimer in the
17+
* documentation and/or other materials provided with the distribution.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22+
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23+
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28+
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*/
30+
/* console.c
631
*
732
* Common library for Windows Console Screen IO.
833
* Contains Windows console related definition so that emulation code can draw
934
* on Windows console screen surface.
1035
*
11-
* Redistribution and use in source and binary forms, with or without
12-
* modification, are permitted provided that the following conditions are met:
13-
*
14-
* 1. Redistributions of source code must retain the above copyright notice.
15-
* 2. Binaries produced provide no direct or implied warranties or any
16-
* guarantee of performance or suitability.
1736
*/
1837

1938
#include <stdlib.h>

contrib/win32/win32compat/console.h

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,33 @@
1-
/* console.h
2-
* Author: Pragma Systems, Inc. <www.pragmasys.com>
3-
* Contribution by Pragma Systems, Inc. for Microsoft openssh win32 port
4-
* Copyright (c) 2011, 2015 Pragma Systems, Inc.
1+
/*
2+
* Author: Microsoft Corp.
3+
*
4+
* Copyright (c) 2015 Microsoft Corp.
55
* All rights reserved
6+
*
7+
* Microsoft openssh win32 port
8+
*
9+
* Redistribution and use in source and binary forms, with or without
10+
* modification, are permitted provided that the following conditions
11+
* are met:
12+
*
13+
* 1. Redistributions of source code must retain the above copyright
14+
* notice, this list of conditions and the following disclaimer.
15+
* 2. Redistributions in binary form must reproduce the above copyright
16+
* notice, this list of conditions and the following disclaimer in the
17+
* documentation and/or other materials provided with the distribution.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22+
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23+
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28+
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*/
30+
/* console.h
631
*
732
* Common library for Windows Console Screen IO.
833
* Contains Windows console related definition so that emulation code can draw
@@ -11,9 +36,6 @@
1136
* Redistribution and use in source and binary forms, with or without
1237
* modification, are permitted provided that the following conditions are met:
1338
*
14-
* 1. Redistributions of source code must retain the above copyright notice.
15-
* 2. Binaries produced provide no direct or implied warranties or any
16-
* guarantee of performance or suitability.
1739
*/
1840

1941
#ifndef __PRAGMA_CONSOLE_h

0 commit comments

Comments
 (0)