diff options
Diffstat (limited to 'src')
71 files changed, 317 insertions, 183 deletions
diff --git a/src/lib/libssl/bio_ssl.c b/src/lib/libssl/bio_ssl.c index 4d28d1821d..cfaf78a4dd 100644 --- a/src/lib/libssl/bio_ssl.c +++ b/src/lib/libssl/bio_ssl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bio_ssl.c,v 1.20 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: bio_ssl.c,v 1.21 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -56,12 +56,13 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <errno.h> | ||
| 59 | #include <stdio.h> | 60 | #include <stdio.h> |
| 60 | #include <stdlib.h> | 61 | #include <stdlib.h> |
| 61 | #include <string.h> | 62 | #include <string.h> |
| 62 | #include <errno.h> | 63 | |
| 63 | #include <openssl/crypto.h> | ||
| 64 | #include <openssl/bio.h> | 64 | #include <openssl/bio.h> |
| 65 | #include <openssl/crypto.h> | ||
| 65 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
| 66 | #include <openssl/ssl.h> | 67 | #include <openssl/ssl.h> |
| 67 | 68 | ||
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index 10659a5136..2dc26e38cb 100644 --- a/src/lib/libssl/d1_both.c +++ b/src/lib/libssl/d1_both.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_both.c,v 1.29 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.30 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -114,12 +114,14 @@ | |||
| 114 | */ | 114 | */ |
| 115 | 115 | ||
| 116 | #include <limits.h> | 116 | #include <limits.h> |
| 117 | #include <string.h> | ||
| 118 | #include <stdio.h> | 117 | #include <stdio.h> |
| 118 | #include <string.h> | ||
| 119 | |||
| 119 | #include "ssl_locl.h" | 120 | #include "ssl_locl.h" |
| 121 | |||
| 120 | #include <openssl/buffer.h> | 122 | #include <openssl/buffer.h> |
| 121 | #include <openssl/objects.h> | ||
| 122 | #include <openssl/evp.h> | 123 | #include <openssl/evp.h> |
| 124 | #include <openssl/objects.h> | ||
| 123 | #include <openssl/x509.h> | 125 | #include <openssl/x509.h> |
| 124 | 126 | ||
| 125 | #include "pqueue.h" | 127 | #include "pqueue.h" |
diff --git a/src/lib/libssl/d1_clnt.c b/src/lib/libssl/d1_clnt.c index 4b71f01a6c..7f6e232128 100644 --- a/src/lib/libssl/d1_clnt.c +++ b/src/lib/libssl/d1_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_clnt.c,v 1.36 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: d1_clnt.c,v 1.37 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -114,13 +114,15 @@ | |||
| 114 | */ | 114 | */ |
| 115 | 115 | ||
| 116 | #include <stdio.h> | 116 | #include <stdio.h> |
| 117 | |||
| 117 | #include "ssl_locl.h" | 118 | #include "ssl_locl.h" |
| 119 | |||
| 120 | #include <openssl/bn.h> | ||
| 118 | #include <openssl/buffer.h> | 121 | #include <openssl/buffer.h> |
| 119 | #include <openssl/objects.h> | 122 | #include <openssl/dh.h> |
| 120 | #include <openssl/evp.h> | 123 | #include <openssl/evp.h> |
| 121 | #include <openssl/md5.h> | 124 | #include <openssl/md5.h> |
| 122 | #include <openssl/bn.h> | 125 | #include <openssl/objects.h> |
| 123 | #include <openssl/dh.h> | ||
| 124 | 126 | ||
| 125 | static const SSL_METHOD *dtls1_get_client_method(int ver); | 127 | static const SSL_METHOD *dtls1_get_client_method(int ver); |
| 126 | static int dtls1_get_hello_verify(SSL *s); | 128 | static int dtls1_get_hello_verify(SSL *s); |
diff --git a/src/lib/libssl/d1_enc.c b/src/lib/libssl/d1_enc.c index 32fcd333f6..7414301b4c 100644 --- a/src/lib/libssl/d1_enc.c +++ b/src/lib/libssl/d1_enc.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_enc.c,v 1.7 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: d1_enc.c,v 1.8 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -114,7 +114,9 @@ | |||
| 114 | */ | 114 | */ |
| 115 | 115 | ||
| 116 | #include <stdio.h> | 116 | #include <stdio.h> |
| 117 | |||
| 117 | #include "ssl_locl.h" | 118 | #include "ssl_locl.h" |
| 119 | |||
| 118 | #include <openssl/evp.h> | 120 | #include <openssl/evp.h> |
| 119 | #include <openssl/hmac.h> | 121 | #include <openssl/hmac.h> |
| 120 | #include <openssl/md5.h> | 122 | #include <openssl/md5.h> |
diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c index ff78d0cf3a..9170e8867a 100644 --- a/src/lib/libssl/d1_lib.c +++ b/src/lib/libssl/d1_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_lib.c,v 1.24 2014/07/17 23:48:24 deraadt Exp $ */ | 1 | /* $OpenBSD: d1_lib.c,v 1.25 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -63,6 +63,7 @@ | |||
| 63 | #include <netinet/in.h> | 63 | #include <netinet/in.h> |
| 64 | 64 | ||
| 65 | #include <stdio.h> | 65 | #include <stdio.h> |
| 66 | |||
| 66 | #include <openssl/objects.h> | 67 | #include <openssl/objects.h> |
| 67 | 68 | ||
| 68 | #include "pqueue.h" | 69 | #include "pqueue.h" |
diff --git a/src/lib/libssl/d1_meth.c b/src/lib/libssl/d1_meth.c index df4ec9fdf2..85909d17d5 100644 --- a/src/lib/libssl/d1_meth.c +++ b/src/lib/libssl/d1_meth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_meth.c,v 1.6 2014/08/10 14:42:56 jsing Exp $ */ | 1 | /* $OpenBSD: d1_meth.c,v 1.7 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -58,7 +58,9 @@ | |||
| 58 | */ | 58 | */ |
| 59 | 59 | ||
| 60 | #include <stdio.h> | 60 | #include <stdio.h> |
| 61 | |||
| 61 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
| 63 | |||
| 62 | #include "ssl_locl.h" | 64 | #include "ssl_locl.h" |
| 63 | 65 | ||
| 64 | static const SSL_METHOD *dtls1_get_method(int ver); | 66 | static const SSL_METHOD *dtls1_get_method(int ver); |
diff --git a/src/lib/libssl/d1_pkt.c b/src/lib/libssl/d1_pkt.c index 7aa5aac752..83b9bf1ce2 100644 --- a/src/lib/libssl/d1_pkt.c +++ b/src/lib/libssl/d1_pkt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_pkt.c,v 1.36 2014/10/22 15:29:31 jsing Exp $ */ | 1 | /* $OpenBSD: d1_pkt.c,v 1.37 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -113,12 +113,15 @@ | |||
| 113 | * [including the GNU Public Licence.] | 113 | * [including the GNU Public Licence.] |
| 114 | */ | 114 | */ |
| 115 | 115 | ||
| 116 | #include <stdio.h> | ||
| 117 | #include <errno.h> | ||
| 118 | #include <machine/endian.h> | 116 | #include <machine/endian.h> |
| 117 | |||
| 118 | #include <errno.h> | ||
| 119 | #include <stdio.h> | ||
| 120 | |||
| 119 | #include "ssl_locl.h" | 121 | #include "ssl_locl.h" |
| 120 | #include <openssl/evp.h> | 122 | |
| 121 | #include <openssl/buffer.h> | 123 | #include <openssl/buffer.h> |
| 124 | #include <openssl/evp.h> | ||
| 122 | 125 | ||
| 123 | #include "pqueue.h" | 126 | #include "pqueue.h" |
| 124 | 127 | ||
diff --git a/src/lib/libssl/d1_srtp.c b/src/lib/libssl/d1_srtp.c index 3492b7d1d0..1443964776 100644 --- a/src/lib/libssl/d1_srtp.c +++ b/src/lib/libssl/d1_srtp.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_srtp.c,v 1.8 2014/07/14 08:21:47 miod Exp $ */ | 1 | /* $OpenBSD: d1_srtp.c,v 1.9 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -116,7 +116,9 @@ | |||
| 116 | */ | 116 | */ |
| 117 | 117 | ||
| 118 | #include <stdio.h> | 118 | #include <stdio.h> |
| 119 | |||
| 119 | #include <openssl/objects.h> | 120 | #include <openssl/objects.h> |
| 121 | |||
| 120 | #include "ssl_locl.h" | 122 | #include "ssl_locl.h" |
| 121 | 123 | ||
| 122 | #ifndef OPENSSL_NO_SRTP | 124 | #ifndef OPENSSL_NO_SRTP |
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c index d2f642f877..e1959fb7e1 100644 --- a/src/lib/libssl/d1_srvr.c +++ b/src/lib/libssl/d1_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_srvr.c,v 1.41 2014/10/31 14:51:01 jsing Exp $ */ | 1 | /* $OpenBSD: d1_srvr.c,v 1.42 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -114,14 +114,16 @@ | |||
| 114 | */ | 114 | */ |
| 115 | 115 | ||
| 116 | #include <stdio.h> | 116 | #include <stdio.h> |
| 117 | |||
| 117 | #include "ssl_locl.h" | 118 | #include "ssl_locl.h" |
| 119 | |||
| 120 | #include <openssl/bn.h> | ||
| 118 | #include <openssl/buffer.h> | 121 | #include <openssl/buffer.h> |
| 119 | #include <openssl/objects.h> | 122 | #include <openssl/dh.h> |
| 120 | #include <openssl/evp.h> | 123 | #include <openssl/evp.h> |
| 121 | #include <openssl/x509.h> | ||
| 122 | #include <openssl/md5.h> | 124 | #include <openssl/md5.h> |
| 123 | #include <openssl/bn.h> | 125 | #include <openssl/objects.h> |
| 124 | #include <openssl/dh.h> | 126 | #include <openssl/x509.h> |
| 125 | 127 | ||
| 126 | static const SSL_METHOD *dtls1_get_server_method(int ver); | 128 | static const SSL_METHOD *dtls1_get_server_method(int ver); |
| 127 | static int dtls1_send_hello_verify_request(SSL *s); | 129 | static int dtls1_send_hello_verify_request(SSL *s); |
diff --git a/src/lib/libssl/dtls1.h b/src/lib/libssl/dtls1.h index e7229fb56b..d3d7e38464 100644 --- a/src/lib/libssl/dtls1.h +++ b/src/lib/libssl/dtls1.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dtls1.h,v 1.14 2014/07/10 08:51:14 tedu Exp $ */ | 1 | /* $OpenBSD: dtls1.h,v 1.15 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -60,11 +60,13 @@ | |||
| 60 | #ifndef HEADER_DTLS1_H | 60 | #ifndef HEADER_DTLS1_H |
| 61 | #define HEADER_DTLS1_H | 61 | #define HEADER_DTLS1_H |
| 62 | 62 | ||
| 63 | #include <openssl/buffer.h> | 63 | #include <sys/time.h> |
| 64 | |||
| 64 | #include <stdio.h> | 65 | #include <stdio.h> |
| 65 | #include <stdlib.h> | 66 | #include <stdlib.h> |
| 66 | #include <string.h> | 67 | #include <string.h> |
| 67 | #include <sys/time.h> | 68 | |
| 69 | #include <openssl/buffer.h> | ||
| 68 | 70 | ||
| 69 | #ifdef __cplusplus | 71 | #ifdef __cplusplus |
| 70 | extern "C" { | 72 | extern "C" { |
diff --git a/src/lib/libssl/s23_clnt.c b/src/lib/libssl/s23_clnt.c index 7967344e2a..07bf6d7861 100644 --- a/src/lib/libssl/s23_clnt.c +++ b/src/lib/libssl/s23_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_clnt.c,v 1.33 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: s23_clnt.c,v 1.34 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -110,10 +110,12 @@ | |||
| 110 | */ | 110 | */ |
| 111 | 111 | ||
| 112 | #include <stdio.h> | 112 | #include <stdio.h> |
| 113 | |||
| 113 | #include "ssl_locl.h" | 114 | #include "ssl_locl.h" |
| 115 | |||
| 114 | #include <openssl/buffer.h> | 116 | #include <openssl/buffer.h> |
| 115 | #include <openssl/objects.h> | ||
| 116 | #include <openssl/evp.h> | 117 | #include <openssl/evp.h> |
| 118 | #include <openssl/objects.h> | ||
| 117 | 119 | ||
| 118 | static const SSL_METHOD *ssl23_get_client_method(int ver); | 120 | static const SSL_METHOD *ssl23_get_client_method(int ver); |
| 119 | static int ssl23_client_hello(SSL *s); | 121 | static int ssl23_client_hello(SSL *s); |
diff --git a/src/lib/libssl/s23_lib.c b/src/lib/libssl/s23_lib.c index 3a6d1d598b..cd594aa3c9 100644 --- a/src/lib/libssl/s23_lib.c +++ b/src/lib/libssl/s23_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_lib.c,v 1.17 2014/08/10 14:42:56 jsing Exp $ */ | 1 | /* $OpenBSD: s23_lib.c,v 1.18 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,7 +57,9 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include <openssl/objects.h> | 61 | #include <openssl/objects.h> |
| 62 | |||
| 61 | #include "ssl_locl.h" | 63 | #include "ssl_locl.h" |
| 62 | 64 | ||
| 63 | long | 65 | long |
diff --git a/src/lib/libssl/s23_pkt.c b/src/lib/libssl/s23_pkt.c index d116db699b..2081f48f08 100644 --- a/src/lib/libssl/s23_pkt.c +++ b/src/lib/libssl/s23_pkt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_pkt.c,v 1.8 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: s23_pkt.c,v 1.9 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -56,11 +56,13 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | ||
| 60 | #include <errno.h> | 59 | #include <errno.h> |
| 60 | #include <stdio.h> | ||
| 61 | |||
| 61 | #include "ssl_locl.h" | 62 | #include "ssl_locl.h" |
| 62 | #include <openssl/evp.h> | 63 | |
| 63 | #include <openssl/buffer.h> | 64 | #include <openssl/buffer.h> |
| 65 | #include <openssl/evp.h> | ||
| 64 | 66 | ||
| 65 | int | 67 | int |
| 66 | ssl23_write_bytes(SSL *s) | 68 | ssl23_write_bytes(SSL *s) |
diff --git a/src/lib/libssl/s23_srvr.c b/src/lib/libssl/s23_srvr.c index a278fe923b..9530ecdbaa 100644 --- a/src/lib/libssl/s23_srvr.c +++ b/src/lib/libssl/s23_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_srvr.c,v 1.35 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: s23_srvr.c,v 1.36 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -110,10 +110,12 @@ | |||
| 110 | */ | 110 | */ |
| 111 | 111 | ||
| 112 | #include <stdio.h> | 112 | #include <stdio.h> |
| 113 | |||
| 113 | #include "ssl_locl.h" | 114 | #include "ssl_locl.h" |
| 115 | |||
| 114 | #include <openssl/buffer.h> | 116 | #include <openssl/buffer.h> |
| 115 | #include <openssl/objects.h> | ||
| 116 | #include <openssl/evp.h> | 117 | #include <openssl/evp.h> |
| 118 | #include <openssl/objects.h> | ||
| 117 | 119 | ||
| 118 | static const SSL_METHOD *ssl23_get_server_method(int ver); | 120 | static const SSL_METHOD *ssl23_get_server_method(int ver); |
| 119 | int ssl23_get_client_hello(SSL *s); | 121 | int ssl23_get_client_hello(SSL *s); |
diff --git a/src/lib/libssl/s3_both.c b/src/lib/libssl/s3_both.c index cd0a4b8013..752bac6c94 100644 --- a/src/lib/libssl/s3_both.c +++ b/src/lib/libssl/s3_both.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_both.c,v 1.31 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: s3_both.c,v 1.32 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -115,12 +115,14 @@ | |||
| 115 | */ | 115 | */ |
| 116 | 116 | ||
| 117 | #include <limits.h> | 117 | #include <limits.h> |
| 118 | #include <string.h> | ||
| 119 | #include <stdio.h> | 118 | #include <stdio.h> |
| 119 | #include <string.h> | ||
| 120 | |||
| 120 | #include "ssl_locl.h" | 121 | #include "ssl_locl.h" |
| 122 | |||
| 121 | #include <openssl/buffer.h> | 123 | #include <openssl/buffer.h> |
| 122 | #include <openssl/objects.h> | ||
| 123 | #include <openssl/evp.h> | 124 | #include <openssl/evp.h> |
| 125 | #include <openssl/objects.h> | ||
| 124 | #include <openssl/x509.h> | 126 | #include <openssl/x509.h> |
| 125 | 127 | ||
| 126 | /* send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or SSL3_RT_CHANGE_CIPHER_SPEC) */ | 128 | /* send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or SSL3_RT_CHANGE_CIPHER_SPEC) */ |
diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c index 179e9400d4..4c086bae83 100644 --- a/src/lib/libssl/s3_clnt.c +++ b/src/lib/libssl/s3_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_clnt.c,v 1.92 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: s3_clnt.c,v 1.93 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -149,13 +149,16 @@ | |||
| 149 | */ | 149 | */ |
| 150 | 150 | ||
| 151 | #include <stdio.h> | 151 | #include <stdio.h> |
| 152 | |||
| 152 | #include "ssl_locl.h" | 153 | #include "ssl_locl.h" |
| 154 | |||
| 155 | #include <openssl/bn.h> | ||
| 153 | #include <openssl/buffer.h> | 156 | #include <openssl/buffer.h> |
| 154 | #include <openssl/objects.h> | 157 | #include <openssl/dh.h> |
| 155 | #include <openssl/evp.h> | 158 | #include <openssl/evp.h> |
| 156 | #include <openssl/md5.h> | 159 | #include <openssl/md5.h> |
| 157 | #include <openssl/dh.h> | 160 | #include <openssl/objects.h> |
| 158 | #include <openssl/bn.h> | 161 | |
| 159 | #ifndef OPENSSL_NO_ENGINE | 162 | #ifndef OPENSSL_NO_ENGINE |
| 160 | #include <openssl/engine.h> | 163 | #include <openssl/engine.h> |
| 161 | #endif | 164 | #endif |
diff --git a/src/lib/libssl/s3_pkt.c b/src/lib/libssl/s3_pkt.c index 62fc6fbce2..ac1b2d7cb4 100644 --- a/src/lib/libssl/s3_pkt.c +++ b/src/lib/libssl/s3_pkt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_pkt.c,v 1.51 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: s3_pkt.c,v 1.52 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -109,11 +109,13 @@ | |||
| 109 | * | 109 | * |
| 110 | */ | 110 | */ |
| 111 | 111 | ||
| 112 | #include <stdio.h> | ||
| 113 | #include <errno.h> | 112 | #include <errno.h> |
| 113 | #include <stdio.h> | ||
| 114 | |||
| 114 | #include "ssl_locl.h" | 115 | #include "ssl_locl.h" |
| 115 | #include <openssl/evp.h> | 116 | |
| 116 | #include <openssl/buffer.h> | 117 | #include <openssl/buffer.h> |
| 118 | #include <openssl/evp.h> | ||
| 117 | 119 | ||
| 118 | static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, | 120 | static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, |
| 119 | unsigned int len, int create_empty_fragment); | 121 | unsigned int len, int create_empty_fragment); |
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c index 3a311fbfb6..a9f82b39d2 100644 --- a/src/lib/libssl/s3_srvr.c +++ b/src/lib/libssl/s3_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_srvr.c,v 1.89 2014/10/31 15:25:55 jsing Exp $ */ | 1 | /* $OpenBSD: s3_srvr.c,v 1.90 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -152,15 +152,17 @@ | |||
| 152 | #define NETSCAPE_HANG_BUG | 152 | #define NETSCAPE_HANG_BUG |
| 153 | 153 | ||
| 154 | #include <stdio.h> | 154 | #include <stdio.h> |
| 155 | |||
| 155 | #include "ssl_locl.h" | 156 | #include "ssl_locl.h" |
| 157 | |||
| 158 | #include <openssl/bn.h> | ||
| 156 | #include <openssl/buffer.h> | 159 | #include <openssl/buffer.h> |
| 157 | #include <openssl/objects.h> | ||
| 158 | #include <openssl/evp.h> | 160 | #include <openssl/evp.h> |
| 159 | #include <openssl/hmac.h> | ||
| 160 | #include <openssl/x509.h> | ||
| 161 | #include <openssl/dh.h> | 161 | #include <openssl/dh.h> |
| 162 | #include <openssl/bn.h> | 162 | #include <openssl/hmac.h> |
| 163 | #include <openssl/md5.h> | 163 | #include <openssl/md5.h> |
| 164 | #include <openssl/objects.h> | ||
| 165 | #include <openssl/x509.h> | ||
| 164 | 166 | ||
| 165 | static const SSL_METHOD *ssl3_get_server_method(int ver); | 167 | static const SSL_METHOD *ssl3_get_server_method(int ver); |
| 166 | 168 | ||
diff --git a/src/lib/libssl/src/ssl/bio_ssl.c b/src/lib/libssl/src/ssl/bio_ssl.c index 4d28d1821d..cfaf78a4dd 100644 --- a/src/lib/libssl/src/ssl/bio_ssl.c +++ b/src/lib/libssl/src/ssl/bio_ssl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bio_ssl.c,v 1.20 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: bio_ssl.c,v 1.21 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -56,12 +56,13 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <errno.h> | ||
| 59 | #include <stdio.h> | 60 | #include <stdio.h> |
| 60 | #include <stdlib.h> | 61 | #include <stdlib.h> |
| 61 | #include <string.h> | 62 | #include <string.h> |
| 62 | #include <errno.h> | 63 | |
| 63 | #include <openssl/crypto.h> | ||
| 64 | #include <openssl/bio.h> | 64 | #include <openssl/bio.h> |
| 65 | #include <openssl/crypto.h> | ||
| 65 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
| 66 | #include <openssl/ssl.h> | 67 | #include <openssl/ssl.h> |
| 67 | 68 | ||
diff --git a/src/lib/libssl/src/ssl/d1_both.c b/src/lib/libssl/src/ssl/d1_both.c index 10659a5136..2dc26e38cb 100644 --- a/src/lib/libssl/src/ssl/d1_both.c +++ b/src/lib/libssl/src/ssl/d1_both.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_both.c,v 1.29 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.30 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -114,12 +114,14 @@ | |||
| 114 | */ | 114 | */ |
| 115 | 115 | ||
| 116 | #include <limits.h> | 116 | #include <limits.h> |
| 117 | #include <string.h> | ||
| 118 | #include <stdio.h> | 117 | #include <stdio.h> |
| 118 | #include <string.h> | ||
| 119 | |||
| 119 | #include "ssl_locl.h" | 120 | #include "ssl_locl.h" |
| 121 | |||
| 120 | #include <openssl/buffer.h> | 122 | #include <openssl/buffer.h> |
| 121 | #include <openssl/objects.h> | ||
| 122 | #include <openssl/evp.h> | 123 | #include <openssl/evp.h> |
| 124 | #include <openssl/objects.h> | ||
| 123 | #include <openssl/x509.h> | 125 | #include <openssl/x509.h> |
| 124 | 126 | ||
| 125 | #include "pqueue.h" | 127 | #include "pqueue.h" |
diff --git a/src/lib/libssl/src/ssl/d1_clnt.c b/src/lib/libssl/src/ssl/d1_clnt.c index 4b71f01a6c..7f6e232128 100644 --- a/src/lib/libssl/src/ssl/d1_clnt.c +++ b/src/lib/libssl/src/ssl/d1_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_clnt.c,v 1.36 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: d1_clnt.c,v 1.37 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -114,13 +114,15 @@ | |||
| 114 | */ | 114 | */ |
| 115 | 115 | ||
| 116 | #include <stdio.h> | 116 | #include <stdio.h> |
| 117 | |||
| 117 | #include "ssl_locl.h" | 118 | #include "ssl_locl.h" |
| 119 | |||
| 120 | #include <openssl/bn.h> | ||
| 118 | #include <openssl/buffer.h> | 121 | #include <openssl/buffer.h> |
| 119 | #include <openssl/objects.h> | 122 | #include <openssl/dh.h> |
| 120 | #include <openssl/evp.h> | 123 | #include <openssl/evp.h> |
| 121 | #include <openssl/md5.h> | 124 | #include <openssl/md5.h> |
| 122 | #include <openssl/bn.h> | 125 | #include <openssl/objects.h> |
| 123 | #include <openssl/dh.h> | ||
| 124 | 126 | ||
| 125 | static const SSL_METHOD *dtls1_get_client_method(int ver); | 127 | static const SSL_METHOD *dtls1_get_client_method(int ver); |
| 126 | static int dtls1_get_hello_verify(SSL *s); | 128 | static int dtls1_get_hello_verify(SSL *s); |
diff --git a/src/lib/libssl/src/ssl/d1_enc.c b/src/lib/libssl/src/ssl/d1_enc.c index 32fcd333f6..7414301b4c 100644 --- a/src/lib/libssl/src/ssl/d1_enc.c +++ b/src/lib/libssl/src/ssl/d1_enc.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_enc.c,v 1.7 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: d1_enc.c,v 1.8 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -114,7 +114,9 @@ | |||
| 114 | */ | 114 | */ |
| 115 | 115 | ||
| 116 | #include <stdio.h> | 116 | #include <stdio.h> |
| 117 | |||
| 117 | #include "ssl_locl.h" | 118 | #include "ssl_locl.h" |
| 119 | |||
| 118 | #include <openssl/evp.h> | 120 | #include <openssl/evp.h> |
| 119 | #include <openssl/hmac.h> | 121 | #include <openssl/hmac.h> |
| 120 | #include <openssl/md5.h> | 122 | #include <openssl/md5.h> |
diff --git a/src/lib/libssl/src/ssl/d1_lib.c b/src/lib/libssl/src/ssl/d1_lib.c index ff78d0cf3a..9170e8867a 100644 --- a/src/lib/libssl/src/ssl/d1_lib.c +++ b/src/lib/libssl/src/ssl/d1_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_lib.c,v 1.24 2014/07/17 23:48:24 deraadt Exp $ */ | 1 | /* $OpenBSD: d1_lib.c,v 1.25 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -63,6 +63,7 @@ | |||
| 63 | #include <netinet/in.h> | 63 | #include <netinet/in.h> |
| 64 | 64 | ||
| 65 | #include <stdio.h> | 65 | #include <stdio.h> |
| 66 | |||
| 66 | #include <openssl/objects.h> | 67 | #include <openssl/objects.h> |
| 67 | 68 | ||
| 68 | #include "pqueue.h" | 69 | #include "pqueue.h" |
diff --git a/src/lib/libssl/src/ssl/d1_meth.c b/src/lib/libssl/src/ssl/d1_meth.c index df4ec9fdf2..85909d17d5 100644 --- a/src/lib/libssl/src/ssl/d1_meth.c +++ b/src/lib/libssl/src/ssl/d1_meth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_meth.c,v 1.6 2014/08/10 14:42:56 jsing Exp $ */ | 1 | /* $OpenBSD: d1_meth.c,v 1.7 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -58,7 +58,9 @@ | |||
| 58 | */ | 58 | */ |
| 59 | 59 | ||
| 60 | #include <stdio.h> | 60 | #include <stdio.h> |
| 61 | |||
| 61 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
| 63 | |||
| 62 | #include "ssl_locl.h" | 64 | #include "ssl_locl.h" |
| 63 | 65 | ||
| 64 | static const SSL_METHOD *dtls1_get_method(int ver); | 66 | static const SSL_METHOD *dtls1_get_method(int ver); |
diff --git a/src/lib/libssl/src/ssl/d1_pkt.c b/src/lib/libssl/src/ssl/d1_pkt.c index 7aa5aac752..83b9bf1ce2 100644 --- a/src/lib/libssl/src/ssl/d1_pkt.c +++ b/src/lib/libssl/src/ssl/d1_pkt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_pkt.c,v 1.36 2014/10/22 15:29:31 jsing Exp $ */ | 1 | /* $OpenBSD: d1_pkt.c,v 1.37 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -113,12 +113,15 @@ | |||
| 113 | * [including the GNU Public Licence.] | 113 | * [including the GNU Public Licence.] |
| 114 | */ | 114 | */ |
| 115 | 115 | ||
| 116 | #include <stdio.h> | ||
| 117 | #include <errno.h> | ||
| 118 | #include <machine/endian.h> | 116 | #include <machine/endian.h> |
| 117 | |||
| 118 | #include <errno.h> | ||
| 119 | #include <stdio.h> | ||
| 120 | |||
| 119 | #include "ssl_locl.h" | 121 | #include "ssl_locl.h" |
| 120 | #include <openssl/evp.h> | 122 | |
| 121 | #include <openssl/buffer.h> | 123 | #include <openssl/buffer.h> |
| 124 | #include <openssl/evp.h> | ||
| 122 | 125 | ||
| 123 | #include "pqueue.h" | 126 | #include "pqueue.h" |
| 124 | 127 | ||
diff --git a/src/lib/libssl/src/ssl/d1_srtp.c b/src/lib/libssl/src/ssl/d1_srtp.c index 3492b7d1d0..1443964776 100644 --- a/src/lib/libssl/src/ssl/d1_srtp.c +++ b/src/lib/libssl/src/ssl/d1_srtp.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_srtp.c,v 1.8 2014/07/14 08:21:47 miod Exp $ */ | 1 | /* $OpenBSD: d1_srtp.c,v 1.9 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -116,7 +116,9 @@ | |||
| 116 | */ | 116 | */ |
| 117 | 117 | ||
| 118 | #include <stdio.h> | 118 | #include <stdio.h> |
| 119 | |||
| 119 | #include <openssl/objects.h> | 120 | #include <openssl/objects.h> |
| 121 | |||
| 120 | #include "ssl_locl.h" | 122 | #include "ssl_locl.h" |
| 121 | 123 | ||
| 122 | #ifndef OPENSSL_NO_SRTP | 124 | #ifndef OPENSSL_NO_SRTP |
diff --git a/src/lib/libssl/src/ssl/d1_srvr.c b/src/lib/libssl/src/ssl/d1_srvr.c index d2f642f877..e1959fb7e1 100644 --- a/src/lib/libssl/src/ssl/d1_srvr.c +++ b/src/lib/libssl/src/ssl/d1_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_srvr.c,v 1.41 2014/10/31 14:51:01 jsing Exp $ */ | 1 | /* $OpenBSD: d1_srvr.c,v 1.42 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -114,14 +114,16 @@ | |||
| 114 | */ | 114 | */ |
| 115 | 115 | ||
| 116 | #include <stdio.h> | 116 | #include <stdio.h> |
| 117 | |||
| 117 | #include "ssl_locl.h" | 118 | #include "ssl_locl.h" |
| 119 | |||
| 120 | #include <openssl/bn.h> | ||
| 118 | #include <openssl/buffer.h> | 121 | #include <openssl/buffer.h> |
| 119 | #include <openssl/objects.h> | 122 | #include <openssl/dh.h> |
| 120 | #include <openssl/evp.h> | 123 | #include <openssl/evp.h> |
| 121 | #include <openssl/x509.h> | ||
| 122 | #include <openssl/md5.h> | 124 | #include <openssl/md5.h> |
| 123 | #include <openssl/bn.h> | 125 | #include <openssl/objects.h> |
| 124 | #include <openssl/dh.h> | 126 | #include <openssl/x509.h> |
| 125 | 127 | ||
| 126 | static const SSL_METHOD *dtls1_get_server_method(int ver); | 128 | static const SSL_METHOD *dtls1_get_server_method(int ver); |
| 127 | static int dtls1_send_hello_verify_request(SSL *s); | 129 | static int dtls1_send_hello_verify_request(SSL *s); |
diff --git a/src/lib/libssl/src/ssl/dtls1.h b/src/lib/libssl/src/ssl/dtls1.h index e7229fb56b..d3d7e38464 100644 --- a/src/lib/libssl/src/ssl/dtls1.h +++ b/src/lib/libssl/src/ssl/dtls1.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dtls1.h,v 1.14 2014/07/10 08:51:14 tedu Exp $ */ | 1 | /* $OpenBSD: dtls1.h,v 1.15 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -60,11 +60,13 @@ | |||
| 60 | #ifndef HEADER_DTLS1_H | 60 | #ifndef HEADER_DTLS1_H |
| 61 | #define HEADER_DTLS1_H | 61 | #define HEADER_DTLS1_H |
| 62 | 62 | ||
| 63 | #include <openssl/buffer.h> | 63 | #include <sys/time.h> |
| 64 | |||
| 64 | #include <stdio.h> | 65 | #include <stdio.h> |
| 65 | #include <stdlib.h> | 66 | #include <stdlib.h> |
| 66 | #include <string.h> | 67 | #include <string.h> |
| 67 | #include <sys/time.h> | 68 | |
| 69 | #include <openssl/buffer.h> | ||
| 68 | 70 | ||
| 69 | #ifdef __cplusplus | 71 | #ifdef __cplusplus |
| 70 | extern "C" { | 72 | extern "C" { |
diff --git a/src/lib/libssl/src/ssl/s23_clnt.c b/src/lib/libssl/src/ssl/s23_clnt.c index 7967344e2a..07bf6d7861 100644 --- a/src/lib/libssl/src/ssl/s23_clnt.c +++ b/src/lib/libssl/src/ssl/s23_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_clnt.c,v 1.33 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: s23_clnt.c,v 1.34 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -110,10 +110,12 @@ | |||
| 110 | */ | 110 | */ |
| 111 | 111 | ||
| 112 | #include <stdio.h> | 112 | #include <stdio.h> |
| 113 | |||
| 113 | #include "ssl_locl.h" | 114 | #include "ssl_locl.h" |
| 115 | |||
| 114 | #include <openssl/buffer.h> | 116 | #include <openssl/buffer.h> |
| 115 | #include <openssl/objects.h> | ||
| 116 | #include <openssl/evp.h> | 117 | #include <openssl/evp.h> |
| 118 | #include <openssl/objects.h> | ||
| 117 | 119 | ||
| 118 | static const SSL_METHOD *ssl23_get_client_method(int ver); | 120 | static const SSL_METHOD *ssl23_get_client_method(int ver); |
| 119 | static int ssl23_client_hello(SSL *s); | 121 | static int ssl23_client_hello(SSL *s); |
diff --git a/src/lib/libssl/src/ssl/s23_lib.c b/src/lib/libssl/src/ssl/s23_lib.c index 3a6d1d598b..cd594aa3c9 100644 --- a/src/lib/libssl/src/ssl/s23_lib.c +++ b/src/lib/libssl/src/ssl/s23_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_lib.c,v 1.17 2014/08/10 14:42:56 jsing Exp $ */ | 1 | /* $OpenBSD: s23_lib.c,v 1.18 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,7 +57,9 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include <openssl/objects.h> | 61 | #include <openssl/objects.h> |
| 62 | |||
| 61 | #include "ssl_locl.h" | 63 | #include "ssl_locl.h" |
| 62 | 64 | ||
| 63 | long | 65 | long |
diff --git a/src/lib/libssl/src/ssl/s23_meth.c b/src/lib/libssl/src/ssl/s23_meth.c index 768c526802..e5382ff38d 100644 --- a/src/lib/libssl/src/ssl/s23_meth.c +++ b/src/lib/libssl/src/ssl/s23_meth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_meth.c,v 1.15 2014/08/10 14:42:56 jsing Exp $ */ | 1 | /* $OpenBSD: s23_meth.c,v 1.16 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,7 +57,9 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include <openssl/objects.h> | 61 | #include <openssl/objects.h> |
| 62 | |||
| 61 | #include "ssl_locl.h" | 63 | #include "ssl_locl.h" |
| 62 | 64 | ||
| 63 | static const SSL_METHOD *ssl23_get_method(int ver); | 65 | static const SSL_METHOD *ssl23_get_method(int ver); |
diff --git a/src/lib/libssl/src/ssl/s23_pkt.c b/src/lib/libssl/src/ssl/s23_pkt.c index d116db699b..2081f48f08 100644 --- a/src/lib/libssl/src/ssl/s23_pkt.c +++ b/src/lib/libssl/src/ssl/s23_pkt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_pkt.c,v 1.8 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: s23_pkt.c,v 1.9 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -56,11 +56,13 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | ||
| 60 | #include <errno.h> | 59 | #include <errno.h> |
| 60 | #include <stdio.h> | ||
| 61 | |||
| 61 | #include "ssl_locl.h" | 62 | #include "ssl_locl.h" |
| 62 | #include <openssl/evp.h> | 63 | |
| 63 | #include <openssl/buffer.h> | 64 | #include <openssl/buffer.h> |
| 65 | #include <openssl/evp.h> | ||
| 64 | 66 | ||
| 65 | int | 67 | int |
| 66 | ssl23_write_bytes(SSL *s) | 68 | ssl23_write_bytes(SSL *s) |
diff --git a/src/lib/libssl/src/ssl/s23_srvr.c b/src/lib/libssl/src/ssl/s23_srvr.c index a278fe923b..9530ecdbaa 100644 --- a/src/lib/libssl/src/ssl/s23_srvr.c +++ b/src/lib/libssl/src/ssl/s23_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_srvr.c,v 1.35 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: s23_srvr.c,v 1.36 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -110,10 +110,12 @@ | |||
| 110 | */ | 110 | */ |
| 111 | 111 | ||
| 112 | #include <stdio.h> | 112 | #include <stdio.h> |
| 113 | |||
| 113 | #include "ssl_locl.h" | 114 | #include "ssl_locl.h" |
| 115 | |||
| 114 | #include <openssl/buffer.h> | 116 | #include <openssl/buffer.h> |
| 115 | #include <openssl/objects.h> | ||
| 116 | #include <openssl/evp.h> | 117 | #include <openssl/evp.h> |
| 118 | #include <openssl/objects.h> | ||
| 117 | 119 | ||
| 118 | static const SSL_METHOD *ssl23_get_server_method(int ver); | 120 | static const SSL_METHOD *ssl23_get_server_method(int ver); |
| 119 | int ssl23_get_client_hello(SSL *s); | 121 | int ssl23_get_client_hello(SSL *s); |
diff --git a/src/lib/libssl/src/ssl/s3_both.c b/src/lib/libssl/src/ssl/s3_both.c index cd0a4b8013..752bac6c94 100644 --- a/src/lib/libssl/src/ssl/s3_both.c +++ b/src/lib/libssl/src/ssl/s3_both.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_both.c,v 1.31 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: s3_both.c,v 1.32 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -115,12 +115,14 @@ | |||
| 115 | */ | 115 | */ |
| 116 | 116 | ||
| 117 | #include <limits.h> | 117 | #include <limits.h> |
| 118 | #include <string.h> | ||
| 119 | #include <stdio.h> | 118 | #include <stdio.h> |
| 119 | #include <string.h> | ||
| 120 | |||
| 120 | #include "ssl_locl.h" | 121 | #include "ssl_locl.h" |
| 122 | |||
| 121 | #include <openssl/buffer.h> | 123 | #include <openssl/buffer.h> |
| 122 | #include <openssl/objects.h> | ||
| 123 | #include <openssl/evp.h> | 124 | #include <openssl/evp.h> |
| 125 | #include <openssl/objects.h> | ||
| 124 | #include <openssl/x509.h> | 126 | #include <openssl/x509.h> |
| 125 | 127 | ||
| 126 | /* send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or SSL3_RT_CHANGE_CIPHER_SPEC) */ | 128 | /* send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or SSL3_RT_CHANGE_CIPHER_SPEC) */ |
diff --git a/src/lib/libssl/src/ssl/s3_clnt.c b/src/lib/libssl/src/ssl/s3_clnt.c index 179e9400d4..4c086bae83 100644 --- a/src/lib/libssl/src/ssl/s3_clnt.c +++ b/src/lib/libssl/src/ssl/s3_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_clnt.c,v 1.92 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: s3_clnt.c,v 1.93 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -149,13 +149,16 @@ | |||
| 149 | */ | 149 | */ |
| 150 | 150 | ||
| 151 | #include <stdio.h> | 151 | #include <stdio.h> |
| 152 | |||
| 152 | #include "ssl_locl.h" | 153 | #include "ssl_locl.h" |
| 154 | |||
| 155 | #include <openssl/bn.h> | ||
| 153 | #include <openssl/buffer.h> | 156 | #include <openssl/buffer.h> |
| 154 | #include <openssl/objects.h> | 157 | #include <openssl/dh.h> |
| 155 | #include <openssl/evp.h> | 158 | #include <openssl/evp.h> |
| 156 | #include <openssl/md5.h> | 159 | #include <openssl/md5.h> |
| 157 | #include <openssl/dh.h> | 160 | #include <openssl/objects.h> |
| 158 | #include <openssl/bn.h> | 161 | |
| 159 | #ifndef OPENSSL_NO_ENGINE | 162 | #ifndef OPENSSL_NO_ENGINE |
| 160 | #include <openssl/engine.h> | 163 | #include <openssl/engine.h> |
| 161 | #endif | 164 | #endif |
diff --git a/src/lib/libssl/src/ssl/s3_enc.c b/src/lib/libssl/src/ssl/s3_enc.c index 93f5d6ac47..09d3dd77a5 100644 --- a/src/lib/libssl/src/ssl/s3_enc.c +++ b/src/lib/libssl/src/ssl/s3_enc.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_enc.c,v 1.55 2014/10/18 03:04:28 doug Exp $ */ | 1 | /* $OpenBSD: s3_enc.c,v 1.56 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -136,7 +136,9 @@ | |||
| 136 | */ | 136 | */ |
| 137 | 137 | ||
| 138 | #include <stdio.h> | 138 | #include <stdio.h> |
| 139 | |||
| 139 | #include "ssl_locl.h" | 140 | #include "ssl_locl.h" |
| 141 | |||
| 140 | #include <openssl/evp.h> | 142 | #include <openssl/evp.h> |
| 141 | #include <openssl/md5.h> | 143 | #include <openssl/md5.h> |
| 142 | 144 | ||
diff --git a/src/lib/libssl/src/ssl/s3_meth.c b/src/lib/libssl/src/ssl/s3_meth.c index a5a63265f3..9817e757c1 100644 --- a/src/lib/libssl/src/ssl/s3_meth.c +++ b/src/lib/libssl/src/ssl/s3_meth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_meth.c,v 1.10 2014/08/10 14:42:56 jsing Exp $ */ | 1 | /* $OpenBSD: s3_meth.c,v 1.11 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,7 +57,9 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include <openssl/objects.h> | 61 | #include <openssl/objects.h> |
| 62 | |||
| 61 | #include "ssl_locl.h" | 63 | #include "ssl_locl.h" |
| 62 | 64 | ||
| 63 | static const SSL_METHOD *ssl3_get_method(int ver); | 65 | static const SSL_METHOD *ssl3_get_method(int ver); |
diff --git a/src/lib/libssl/src/ssl/s3_pkt.c b/src/lib/libssl/src/ssl/s3_pkt.c index 62fc6fbce2..ac1b2d7cb4 100644 --- a/src/lib/libssl/src/ssl/s3_pkt.c +++ b/src/lib/libssl/src/ssl/s3_pkt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_pkt.c,v 1.51 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: s3_pkt.c,v 1.52 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -109,11 +109,13 @@ | |||
| 109 | * | 109 | * |
| 110 | */ | 110 | */ |
| 111 | 111 | ||
| 112 | #include <stdio.h> | ||
| 113 | #include <errno.h> | 112 | #include <errno.h> |
| 113 | #include <stdio.h> | ||
| 114 | |||
| 114 | #include "ssl_locl.h" | 115 | #include "ssl_locl.h" |
| 115 | #include <openssl/evp.h> | 116 | |
| 116 | #include <openssl/buffer.h> | 117 | #include <openssl/buffer.h> |
| 118 | #include <openssl/evp.h> | ||
| 117 | 119 | ||
| 118 | static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, | 120 | static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, |
| 119 | unsigned int len, int create_empty_fragment); | 121 | unsigned int len, int create_empty_fragment); |
diff --git a/src/lib/libssl/src/ssl/s3_srvr.c b/src/lib/libssl/src/ssl/s3_srvr.c index 3a311fbfb6..a9f82b39d2 100644 --- a/src/lib/libssl/src/ssl/s3_srvr.c +++ b/src/lib/libssl/src/ssl/s3_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_srvr.c,v 1.89 2014/10/31 15:25:55 jsing Exp $ */ | 1 | /* $OpenBSD: s3_srvr.c,v 1.90 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -152,15 +152,17 @@ | |||
| 152 | #define NETSCAPE_HANG_BUG | 152 | #define NETSCAPE_HANG_BUG |
| 153 | 153 | ||
| 154 | #include <stdio.h> | 154 | #include <stdio.h> |
| 155 | |||
| 155 | #include "ssl_locl.h" | 156 | #include "ssl_locl.h" |
| 157 | |||
| 158 | #include <openssl/bn.h> | ||
| 156 | #include <openssl/buffer.h> | 159 | #include <openssl/buffer.h> |
| 157 | #include <openssl/objects.h> | ||
| 158 | #include <openssl/evp.h> | 160 | #include <openssl/evp.h> |
| 159 | #include <openssl/hmac.h> | ||
| 160 | #include <openssl/x509.h> | ||
| 161 | #include <openssl/dh.h> | 161 | #include <openssl/dh.h> |
| 162 | #include <openssl/bn.h> | 162 | #include <openssl/hmac.h> |
| 163 | #include <openssl/md5.h> | 163 | #include <openssl/md5.h> |
| 164 | #include <openssl/objects.h> | ||
| 165 | #include <openssl/x509.h> | ||
| 164 | 166 | ||
| 165 | static const SSL_METHOD *ssl3_get_server_method(int ver); | 167 | static const SSL_METHOD *ssl3_get_server_method(int ver); |
| 166 | 168 | ||
diff --git a/src/lib/libssl/src/ssl/ssl.h b/src/lib/libssl/src/ssl/ssl.h index c46d333958..00a4b5e39b 100644 --- a/src/lib/libssl/src/ssl/ssl.h +++ b/src/lib/libssl/src/ssl/ssl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl.h,v 1.70 2014/10/31 15:34:06 jsing Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.71 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -144,22 +144,23 @@ | |||
| 144 | #define HEADER_SSL_H | 144 | #define HEADER_SSL_H |
| 145 | 145 | ||
| 146 | #include <openssl/opensslconf.h> | 146 | #include <openssl/opensslconf.h> |
| 147 | #include <openssl/hmac.h> | ||
| 148 | #include <openssl/pem.h> | ||
| 149 | #include <openssl/safestack.h> | ||
| 147 | 150 | ||
| 148 | #ifndef OPENSSL_NO_BIO | 151 | #ifndef OPENSSL_NO_BIO |
| 149 | #include <openssl/bio.h> | 152 | #include <openssl/bio.h> |
| 150 | #endif | 153 | #endif |
| 154 | |||
| 151 | #ifndef OPENSSL_NO_DEPRECATED | 155 | #ifndef OPENSSL_NO_DEPRECATED |
| 156 | #include <openssl/buffer.h> | ||
| 157 | #include <openssl/crypto.h> | ||
| 158 | #include <openssl/lhash.h> | ||
| 159 | |||
| 152 | #ifndef OPENSSL_NO_X509 | 160 | #ifndef OPENSSL_NO_X509 |
| 153 | #include <openssl/x509.h> | 161 | #include <openssl/x509.h> |
| 154 | #endif | 162 | #endif |
| 155 | #include <openssl/crypto.h> | ||
| 156 | #include <openssl/lhash.h> | ||
| 157 | #include <openssl/buffer.h> | ||
| 158 | #endif | 163 | #endif |
| 159 | #include <openssl/pem.h> | ||
| 160 | #include <openssl/hmac.h> | ||
| 161 | |||
| 162 | #include <openssl/safestack.h> | ||
| 163 | 164 | ||
| 164 | #ifdef __cplusplus | 165 | #ifdef __cplusplus |
| 165 | extern "C" { | 166 | extern "C" { |
diff --git a/src/lib/libssl/src/ssl/ssl_algs.c b/src/lib/libssl/src/ssl/ssl_algs.c index ce051252f6..842d50a762 100644 --- a/src/lib/libssl/src/ssl/ssl_algs.c +++ b/src/lib/libssl/src/ssl/ssl_algs.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_algs.c,v 1.19 2014/07/10 08:51:15 tedu Exp $ */ | 1 | /* $OpenBSD: ssl_algs.c,v 1.20 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,8 +57,10 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include <openssl/objects.h> | 60 | |
| 61 | #include <openssl/lhash.h> | 61 | #include <openssl/lhash.h> |
| 62 | #include <openssl/objects.h> | ||
| 63 | |||
| 62 | #include "ssl_locl.h" | 64 | #include "ssl_locl.h" |
| 63 | 65 | ||
| 64 | int | 66 | int |
diff --git a/src/lib/libssl/src/ssl/ssl_cert.c b/src/lib/libssl/src/ssl/ssl_cert.c index 8adb9aa032..7938c82c94 100644 --- a/src/lib/libssl/src/ssl/ssl_cert.c +++ b/src/lib/libssl/src/ssl/ssl_cert.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_cert.c,v 1.44 2014/10/31 15:25:55 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_cert.c,v 1.45 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -116,17 +116,18 @@ | |||
| 116 | 116 | ||
| 117 | #include <sys/types.h> | 117 | #include <sys/types.h> |
| 118 | 118 | ||
| 119 | #include <dirent.h> | ||
| 119 | #include <stdio.h> | 120 | #include <stdio.h> |
| 120 | #include <unistd.h> | 121 | #include <unistd.h> |
| 121 | #include <dirent.h> | ||
| 122 | 122 | ||
| 123 | #include <openssl/opensslconf.h> | ||
| 124 | #include <openssl/objects.h> | ||
| 125 | #include <openssl/bio.h> | 123 | #include <openssl/bio.h> |
| 124 | #include <openssl/bn.h> | ||
| 125 | #include <openssl/dh.h> | ||
| 126 | #include <openssl/objects.h> | ||
| 127 | #include <openssl/opensslconf.h> | ||
| 126 | #include <openssl/pem.h> | 128 | #include <openssl/pem.h> |
| 127 | #include <openssl/x509v3.h> | 129 | #include <openssl/x509v3.h> |
| 128 | #include <openssl/dh.h> | 130 | |
| 129 | #include <openssl/bn.h> | ||
| 130 | #include "ssl_locl.h" | 131 | #include "ssl_locl.h" |
| 131 | 132 | ||
| 132 | int | 133 | int |
diff --git a/src/lib/libssl/src/ssl/ssl_ciph.c b/src/lib/libssl/src/ssl/ssl_ciph.c index 6193cd1a66..443c2ec660 100644 --- a/src/lib/libssl/src/ssl/ssl_ciph.c +++ b/src/lib/libssl/src/ssl/ssl_ciph.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_ciph.c,v 1.72 2014/11/08 15:21:02 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_ciph.c,v 1.73 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -141,10 +141,13 @@ | |||
| 141 | */ | 141 | */ |
| 142 | 142 | ||
| 143 | #include <stdio.h> | 143 | #include <stdio.h> |
| 144 | |||
| 144 | #include <openssl/objects.h> | 145 | #include <openssl/objects.h> |
| 146 | |||
| 145 | #ifndef OPENSSL_NO_ENGINE | 147 | #ifndef OPENSSL_NO_ENGINE |
| 146 | #include <openssl/engine.h> | 148 | #include <openssl/engine.h> |
| 147 | #endif | 149 | #endif |
| 150 | |||
| 148 | #include "ssl_locl.h" | 151 | #include "ssl_locl.h" |
| 149 | 152 | ||
| 150 | #define SSL_ENC_DES_IDX 0 | 153 | #define SSL_ENC_DES_IDX 0 |
diff --git a/src/lib/libssl/src/ssl/ssl_err.c b/src/lib/libssl/src/ssl/ssl_err.c index 33cd5f2f96..eb0fb4f8f2 100644 --- a/src/lib/libssl/src/ssl/ssl_err.c +++ b/src/lib/libssl/src/ssl/ssl_err.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_err.c,v 1.26 2014/09/27 11:01:06 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_err.c,v 1.27 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -59,6 +59,7 @@ | |||
| 59 | */ | 59 | */ |
| 60 | 60 | ||
| 61 | #include <stdio.h> | 61 | #include <stdio.h> |
| 62 | |||
| 62 | #include <openssl/err.h> | 63 | #include <openssl/err.h> |
| 63 | #include <openssl/ssl.h> | 64 | #include <openssl/ssl.h> |
| 64 | 65 | ||
diff --git a/src/lib/libssl/src/ssl/ssl_err2.c b/src/lib/libssl/src/ssl/ssl_err2.c index 0e5b3b5015..19eb4a5afe 100644 --- a/src/lib/libssl/src/ssl/ssl_err2.c +++ b/src/lib/libssl/src/ssl/ssl_err2.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_err2.c,v 1.5 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: ssl_err2.c,v 1.6 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,6 +57,7 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
| 61 | #include <openssl/ssl.h> | 62 | #include <openssl/ssl.h> |
| 62 | 63 | ||
diff --git a/src/lib/libssl/src/ssl/ssl_lib.c b/src/lib/libssl/src/ssl/ssl_lib.c index 078a710c33..bdd47ff87f 100644 --- a/src/lib/libssl/src/ssl/ssl_lib.c +++ b/src/lib/libssl/src/ssl/ssl_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_lib.c,v 1.89 2014/10/31 15:25:55 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.90 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -141,12 +141,15 @@ | |||
| 141 | */ | 141 | */ |
| 142 | 142 | ||
| 143 | #include <stdio.h> | 143 | #include <stdio.h> |
| 144 | |||
| 144 | #include "ssl_locl.h" | 145 | #include "ssl_locl.h" |
| 145 | #include <openssl/objects.h> | 146 | |
| 147 | #include <openssl/dh.h> | ||
| 146 | #include <openssl/lhash.h> | 148 | #include <openssl/lhash.h> |
| 147 | #include <openssl/x509v3.h> | 149 | #include <openssl/objects.h> |
| 148 | #include <openssl/ocsp.h> | 150 | #include <openssl/ocsp.h> |
| 149 | #include <openssl/dh.h> | 151 | #include <openssl/x509v3.h> |
| 152 | |||
| 150 | #ifndef OPENSSL_NO_ENGINE | 153 | #ifndef OPENSSL_NO_ENGINE |
| 151 | #include <openssl/engine.h> | 154 | #include <openssl/engine.h> |
| 152 | #endif | 155 | #endif |
diff --git a/src/lib/libssl/src/ssl/ssl_locl.h b/src/lib/libssl/src/ssl/ssl_locl.h index 8888d6c5a5..ec8f96e645 100644 --- a/src/lib/libssl/src/ssl/ssl_locl.h +++ b/src/lib/libssl/src/ssl/ssl_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_locl.h,v 1.75 2014/11/08 15:21:02 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.76 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -145,20 +145,20 @@ | |||
| 145 | 145 | ||
| 146 | #include <sys/types.h> | 146 | #include <sys/types.h> |
| 147 | 147 | ||
| 148 | #include <errno.h> | ||
| 148 | #include <stdlib.h> | 149 | #include <stdlib.h> |
| 149 | #include <time.h> | ||
| 150 | #include <string.h> | 150 | #include <string.h> |
| 151 | #include <errno.h> | 151 | #include <time.h> |
| 152 | #include <unistd.h> | 152 | #include <unistd.h> |
| 153 | 153 | ||
| 154 | #include <openssl/opensslconf.h> | 154 | #include <openssl/opensslconf.h> |
| 155 | #include <openssl/buffer.h> | ||
| 156 | #include <openssl/bio.h> | 155 | #include <openssl/bio.h> |
| 157 | #include <openssl/stack.h> | 156 | #include <openssl/buffer.h> |
| 158 | #include <openssl/rsa.h> | ||
| 159 | #include <openssl/dsa.h> | 157 | #include <openssl/dsa.h> |
| 160 | #include <openssl/err.h> | 158 | #include <openssl/err.h> |
| 159 | #include <openssl/rsa.h> | ||
| 161 | #include <openssl/ssl.h> | 160 | #include <openssl/ssl.h> |
| 161 | #include <openssl/stack.h> | ||
| 162 | 162 | ||
| 163 | #define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \ | 163 | #define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \ |
| 164 | l|=(((unsigned long)(*((c)++)))<< 8), \ | 164 | l|=(((unsigned long)(*((c)++)))<< 8), \ |
diff --git a/src/lib/libssl/src/ssl/ssl_rsa.c b/src/lib/libssl/src/ssl/ssl_rsa.c index e8b72f016e..7ccf5d564d 100644 --- a/src/lib/libssl/src/ssl/ssl_rsa.c +++ b/src/lib/libssl/src/ssl/ssl_rsa.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_rsa.c,v 1.17 2014/09/28 14:45:48 reyk Exp $ */ | 1 | /* $OpenBSD: ssl_rsa.c,v 1.18 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,12 +57,14 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include "ssl_locl.h" | 61 | #include "ssl_locl.h" |
| 62 | |||
| 61 | #include <openssl/bio.h> | 63 | #include <openssl/bio.h> |
| 62 | #include <openssl/objects.h> | ||
| 63 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
| 64 | #include <openssl/x509.h> | 65 | #include <openssl/objects.h> |
| 65 | #include <openssl/pem.h> | 66 | #include <openssl/pem.h> |
| 67 | #include <openssl/x509.h> | ||
| 66 | 68 | ||
| 67 | static int ssl_set_cert(CERT *c, X509 *x509); | 69 | static int ssl_set_cert(CERT *c, X509 *x509); |
| 68 | static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey); | 70 | static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey); |
diff --git a/src/lib/libssl/src/ssl/ssl_stat.c b/src/lib/libssl/src/ssl/ssl_stat.c index d7f41dbf95..6d67d19c25 100644 --- a/src/lib/libssl/src/ssl/ssl_stat.c +++ b/src/lib/libssl/src/ssl/ssl_stat.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_stat.c,v 1.11 2014/07/13 00:08:44 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_stat.c,v 1.12 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -83,6 +83,7 @@ | |||
| 83 | */ | 83 | */ |
| 84 | 84 | ||
| 85 | #include <stdio.h> | 85 | #include <stdio.h> |
| 86 | |||
| 86 | #include "ssl_locl.h" | 87 | #include "ssl_locl.h" |
| 87 | 88 | ||
| 88 | const char * | 89 | const char * |
diff --git a/src/lib/libssl/src/ssl/ssl_txt.c b/src/lib/libssl/src/ssl/ssl_txt.c index 3540bab313..508db476d8 100644 --- a/src/lib/libssl/src/ssl/ssl_txt.c +++ b/src/lib/libssl/src/ssl/ssl_txt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_txt.c,v 1.24 2014/07/12 19:45:53 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_txt.c,v 1.25 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -83,7 +83,9 @@ | |||
| 83 | */ | 83 | */ |
| 84 | 84 | ||
| 85 | #include <stdio.h> | 85 | #include <stdio.h> |
| 86 | |||
| 86 | #include <openssl/buffer.h> | 87 | #include <openssl/buffer.h> |
| 88 | |||
| 87 | #include "ssl_locl.h" | 89 | #include "ssl_locl.h" |
| 88 | 90 | ||
| 89 | int | 91 | int |
diff --git a/src/lib/libssl/src/ssl/t1_clnt.c b/src/lib/libssl/src/ssl/t1_clnt.c index cb5f26a07c..b2adbaee73 100644 --- a/src/lib/libssl/src/ssl/t1_clnt.c +++ b/src/lib/libssl/src/ssl/t1_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_clnt.c,v 1.15 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: t1_clnt.c,v 1.16 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,10 +57,12 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include "ssl_locl.h" | 61 | #include "ssl_locl.h" |
| 62 | |||
| 61 | #include <openssl/buffer.h> | 63 | #include <openssl/buffer.h> |
| 62 | #include <openssl/objects.h> | ||
| 63 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
| 65 | #include <openssl/objects.h> | ||
| 64 | 66 | ||
| 65 | static const SSL_METHOD *tls1_get_client_method(int ver); | 67 | static const SSL_METHOD *tls1_get_client_method(int ver); |
| 66 | 68 | ||
diff --git a/src/lib/libssl/src/ssl/t1_enc.c b/src/lib/libssl/src/ssl/t1_enc.c index ea5df0bf63..fc313efc2c 100644 --- a/src/lib/libssl/src/ssl/t1_enc.c +++ b/src/lib/libssl/src/ssl/t1_enc.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_enc.c,v 1.71 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: t1_enc.c,v 1.72 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -136,7 +136,9 @@ | |||
| 136 | */ | 136 | */ |
| 137 | 137 | ||
| 138 | #include <stdio.h> | 138 | #include <stdio.h> |
| 139 | |||
| 139 | #include "ssl_locl.h" | 140 | #include "ssl_locl.h" |
| 141 | |||
| 140 | #include <openssl/evp.h> | 142 | #include <openssl/evp.h> |
| 141 | #include <openssl/hmac.h> | 143 | #include <openssl/hmac.h> |
| 142 | #include <openssl/md5.h> | 144 | #include <openssl/md5.h> |
diff --git a/src/lib/libssl/src/ssl/t1_meth.c b/src/lib/libssl/src/ssl/t1_meth.c index de066322f4..e0cc50e117 100644 --- a/src/lib/libssl/src/ssl/t1_meth.c +++ b/src/lib/libssl/src/ssl/t1_meth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_meth.c,v 1.13 2014/08/10 14:42:56 jsing Exp $ */ | 1 | /* $OpenBSD: t1_meth.c,v 1.14 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,7 +57,9 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include <openssl/objects.h> | 61 | #include <openssl/objects.h> |
| 62 | |||
| 61 | #include "ssl_locl.h" | 63 | #include "ssl_locl.h" |
| 62 | 64 | ||
| 63 | static const SSL_METHOD *tls1_get_method(int ver); | 65 | static const SSL_METHOD *tls1_get_method(int ver); |
diff --git a/src/lib/libssl/src/ssl/t1_reneg.c b/src/lib/libssl/src/ssl/t1_reneg.c index fee9dd8e4a..c93105ef4d 100644 --- a/src/lib/libssl/src/ssl/t1_reneg.c +++ b/src/lib/libssl/src/ssl/t1_reneg.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_reneg.c,v 1.8 2014/06/21 20:27:25 tedu Exp $ */ | 1 | /* $OpenBSD: t1_reneg.c,v 1.9 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -108,8 +108,11 @@ | |||
| 108 | * Hudson (tjh@cryptsoft.com). | 108 | * Hudson (tjh@cryptsoft.com). |
| 109 | * | 109 | * |
| 110 | */ | 110 | */ |
| 111 | |||
| 111 | #include <stdio.h> | 112 | #include <stdio.h> |
| 113 | |||
| 112 | #include <openssl/objects.h> | 114 | #include <openssl/objects.h> |
| 115 | |||
| 113 | #include "ssl_locl.h" | 116 | #include "ssl_locl.h" |
| 114 | 117 | ||
| 115 | /* Add the client's renegotiation binding */ | 118 | /* Add the client's renegotiation binding */ |
diff --git a/src/lib/libssl/src/ssl/t1_srvr.c b/src/lib/libssl/src/ssl/t1_srvr.c index ba579dd110..ab3fb7cdbf 100644 --- a/src/lib/libssl/src/ssl/t1_srvr.c +++ b/src/lib/libssl/src/ssl/t1_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_srvr.c,v 1.15 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: t1_srvr.c,v 1.16 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,10 +57,12 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include "ssl_locl.h" | 61 | #include "ssl_locl.h" |
| 62 | |||
| 61 | #include <openssl/buffer.h> | 63 | #include <openssl/buffer.h> |
| 62 | #include <openssl/objects.h> | ||
| 63 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
| 65 | #include <openssl/objects.h> | ||
| 64 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
| 65 | 67 | ||
| 66 | static const SSL_METHOD *tls1_get_server_method(int ver); | 68 | static const SSL_METHOD *tls1_get_server_method(int ver); |
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index c46d333958..00a4b5e39b 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl.h,v 1.70 2014/10/31 15:34:06 jsing Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.71 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -144,22 +144,23 @@ | |||
| 144 | #define HEADER_SSL_H | 144 | #define HEADER_SSL_H |
| 145 | 145 | ||
| 146 | #include <openssl/opensslconf.h> | 146 | #include <openssl/opensslconf.h> |
| 147 | #include <openssl/hmac.h> | ||
| 148 | #include <openssl/pem.h> | ||
| 149 | #include <openssl/safestack.h> | ||
| 147 | 150 | ||
| 148 | #ifndef OPENSSL_NO_BIO | 151 | #ifndef OPENSSL_NO_BIO |
| 149 | #include <openssl/bio.h> | 152 | #include <openssl/bio.h> |
| 150 | #endif | 153 | #endif |
| 154 | |||
| 151 | #ifndef OPENSSL_NO_DEPRECATED | 155 | #ifndef OPENSSL_NO_DEPRECATED |
| 156 | #include <openssl/buffer.h> | ||
| 157 | #include <openssl/crypto.h> | ||
| 158 | #include <openssl/lhash.h> | ||
| 159 | |||
| 152 | #ifndef OPENSSL_NO_X509 | 160 | #ifndef OPENSSL_NO_X509 |
| 153 | #include <openssl/x509.h> | 161 | #include <openssl/x509.h> |
| 154 | #endif | 162 | #endif |
| 155 | #include <openssl/crypto.h> | ||
| 156 | #include <openssl/lhash.h> | ||
| 157 | #include <openssl/buffer.h> | ||
| 158 | #endif | 163 | #endif |
| 159 | #include <openssl/pem.h> | ||
| 160 | #include <openssl/hmac.h> | ||
| 161 | |||
| 162 | #include <openssl/safestack.h> | ||
| 163 | 164 | ||
| 164 | #ifdef __cplusplus | 165 | #ifdef __cplusplus |
| 165 | extern "C" { | 166 | extern "C" { |
diff --git a/src/lib/libssl/ssl_algs.c b/src/lib/libssl/ssl_algs.c index ce051252f6..842d50a762 100644 --- a/src/lib/libssl/ssl_algs.c +++ b/src/lib/libssl/ssl_algs.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_algs.c,v 1.19 2014/07/10 08:51:15 tedu Exp $ */ | 1 | /* $OpenBSD: ssl_algs.c,v 1.20 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,8 +57,10 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include <openssl/objects.h> | 60 | |
| 61 | #include <openssl/lhash.h> | 61 | #include <openssl/lhash.h> |
| 62 | #include <openssl/objects.h> | ||
| 63 | |||
| 62 | #include "ssl_locl.h" | 64 | #include "ssl_locl.h" |
| 63 | 65 | ||
| 64 | int | 66 | int |
diff --git a/src/lib/libssl/ssl_cert.c b/src/lib/libssl/ssl_cert.c index 8adb9aa032..7938c82c94 100644 --- a/src/lib/libssl/ssl_cert.c +++ b/src/lib/libssl/ssl_cert.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_cert.c,v 1.44 2014/10/31 15:25:55 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_cert.c,v 1.45 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -116,17 +116,18 @@ | |||
| 116 | 116 | ||
| 117 | #include <sys/types.h> | 117 | #include <sys/types.h> |
| 118 | 118 | ||
| 119 | #include <dirent.h> | ||
| 119 | #include <stdio.h> | 120 | #include <stdio.h> |
| 120 | #include <unistd.h> | 121 | #include <unistd.h> |
| 121 | #include <dirent.h> | ||
| 122 | 122 | ||
| 123 | #include <openssl/opensslconf.h> | ||
| 124 | #include <openssl/objects.h> | ||
| 125 | #include <openssl/bio.h> | 123 | #include <openssl/bio.h> |
| 124 | #include <openssl/bn.h> | ||
| 125 | #include <openssl/dh.h> | ||
| 126 | #include <openssl/objects.h> | ||
| 127 | #include <openssl/opensslconf.h> | ||
| 126 | #include <openssl/pem.h> | 128 | #include <openssl/pem.h> |
| 127 | #include <openssl/x509v3.h> | 129 | #include <openssl/x509v3.h> |
| 128 | #include <openssl/dh.h> | 130 | |
| 129 | #include <openssl/bn.h> | ||
| 130 | #include "ssl_locl.h" | 131 | #include "ssl_locl.h" |
| 131 | 132 | ||
| 132 | int | 133 | int |
diff --git a/src/lib/libssl/ssl_ciph.c b/src/lib/libssl/ssl_ciph.c index 6193cd1a66..443c2ec660 100644 --- a/src/lib/libssl/ssl_ciph.c +++ b/src/lib/libssl/ssl_ciph.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_ciph.c,v 1.72 2014/11/08 15:21:02 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_ciph.c,v 1.73 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -141,10 +141,13 @@ | |||
| 141 | */ | 141 | */ |
| 142 | 142 | ||
| 143 | #include <stdio.h> | 143 | #include <stdio.h> |
| 144 | |||
| 144 | #include <openssl/objects.h> | 145 | #include <openssl/objects.h> |
| 146 | |||
| 145 | #ifndef OPENSSL_NO_ENGINE | 147 | #ifndef OPENSSL_NO_ENGINE |
| 146 | #include <openssl/engine.h> | 148 | #include <openssl/engine.h> |
| 147 | #endif | 149 | #endif |
| 150 | |||
| 148 | #include "ssl_locl.h" | 151 | #include "ssl_locl.h" |
| 149 | 152 | ||
| 150 | #define SSL_ENC_DES_IDX 0 | 153 | #define SSL_ENC_DES_IDX 0 |
diff --git a/src/lib/libssl/ssl_err.c b/src/lib/libssl/ssl_err.c index 33cd5f2f96..eb0fb4f8f2 100644 --- a/src/lib/libssl/ssl_err.c +++ b/src/lib/libssl/ssl_err.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_err.c,v 1.26 2014/09/27 11:01:06 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_err.c,v 1.27 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -59,6 +59,7 @@ | |||
| 59 | */ | 59 | */ |
| 60 | 60 | ||
| 61 | #include <stdio.h> | 61 | #include <stdio.h> |
| 62 | |||
| 62 | #include <openssl/err.h> | 63 | #include <openssl/err.h> |
| 63 | #include <openssl/ssl.h> | 64 | #include <openssl/ssl.h> |
| 64 | 65 | ||
diff --git a/src/lib/libssl/ssl_err2.c b/src/lib/libssl/ssl_err2.c index 0e5b3b5015..19eb4a5afe 100644 --- a/src/lib/libssl/ssl_err2.c +++ b/src/lib/libssl/ssl_err2.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_err2.c,v 1.5 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: ssl_err2.c,v 1.6 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,6 +57,7 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
| 61 | #include <openssl/ssl.h> | 62 | #include <openssl/ssl.h> |
| 62 | 63 | ||
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index 078a710c33..bdd47ff87f 100644 --- a/src/lib/libssl/ssl_lib.c +++ b/src/lib/libssl/ssl_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_lib.c,v 1.89 2014/10/31 15:25:55 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.90 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -141,12 +141,15 @@ | |||
| 141 | */ | 141 | */ |
| 142 | 142 | ||
| 143 | #include <stdio.h> | 143 | #include <stdio.h> |
| 144 | |||
| 144 | #include "ssl_locl.h" | 145 | #include "ssl_locl.h" |
| 145 | #include <openssl/objects.h> | 146 | |
| 147 | #include <openssl/dh.h> | ||
| 146 | #include <openssl/lhash.h> | 148 | #include <openssl/lhash.h> |
| 147 | #include <openssl/x509v3.h> | 149 | #include <openssl/objects.h> |
| 148 | #include <openssl/ocsp.h> | 150 | #include <openssl/ocsp.h> |
| 149 | #include <openssl/dh.h> | 151 | #include <openssl/x509v3.h> |
| 152 | |||
| 150 | #ifndef OPENSSL_NO_ENGINE | 153 | #ifndef OPENSSL_NO_ENGINE |
| 151 | #include <openssl/engine.h> | 154 | #include <openssl/engine.h> |
| 152 | #endif | 155 | #endif |
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 8888d6c5a5..ec8f96e645 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_locl.h,v 1.75 2014/11/08 15:21:02 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.76 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -145,20 +145,20 @@ | |||
| 145 | 145 | ||
| 146 | #include <sys/types.h> | 146 | #include <sys/types.h> |
| 147 | 147 | ||
| 148 | #include <errno.h> | ||
| 148 | #include <stdlib.h> | 149 | #include <stdlib.h> |
| 149 | #include <time.h> | ||
| 150 | #include <string.h> | 150 | #include <string.h> |
| 151 | #include <errno.h> | 151 | #include <time.h> |
| 152 | #include <unistd.h> | 152 | #include <unistd.h> |
| 153 | 153 | ||
| 154 | #include <openssl/opensslconf.h> | 154 | #include <openssl/opensslconf.h> |
| 155 | #include <openssl/buffer.h> | ||
| 156 | #include <openssl/bio.h> | 155 | #include <openssl/bio.h> |
| 157 | #include <openssl/stack.h> | 156 | #include <openssl/buffer.h> |
| 158 | #include <openssl/rsa.h> | ||
| 159 | #include <openssl/dsa.h> | 157 | #include <openssl/dsa.h> |
| 160 | #include <openssl/err.h> | 158 | #include <openssl/err.h> |
| 159 | #include <openssl/rsa.h> | ||
| 161 | #include <openssl/ssl.h> | 160 | #include <openssl/ssl.h> |
| 161 | #include <openssl/stack.h> | ||
| 162 | 162 | ||
| 163 | #define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \ | 163 | #define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \ |
| 164 | l|=(((unsigned long)(*((c)++)))<< 8), \ | 164 | l|=(((unsigned long)(*((c)++)))<< 8), \ |
diff --git a/src/lib/libssl/ssl_rsa.c b/src/lib/libssl/ssl_rsa.c index e8b72f016e..7ccf5d564d 100644 --- a/src/lib/libssl/ssl_rsa.c +++ b/src/lib/libssl/ssl_rsa.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_rsa.c,v 1.17 2014/09/28 14:45:48 reyk Exp $ */ | 1 | /* $OpenBSD: ssl_rsa.c,v 1.18 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,12 +57,14 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include "ssl_locl.h" | 61 | #include "ssl_locl.h" |
| 62 | |||
| 61 | #include <openssl/bio.h> | 63 | #include <openssl/bio.h> |
| 62 | #include <openssl/objects.h> | ||
| 63 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
| 64 | #include <openssl/x509.h> | 65 | #include <openssl/objects.h> |
| 65 | #include <openssl/pem.h> | 66 | #include <openssl/pem.h> |
| 67 | #include <openssl/x509.h> | ||
| 66 | 68 | ||
| 67 | static int ssl_set_cert(CERT *c, X509 *x509); | 69 | static int ssl_set_cert(CERT *c, X509 *x509); |
| 68 | static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey); | 70 | static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey); |
diff --git a/src/lib/libssl/ssl_stat.c b/src/lib/libssl/ssl_stat.c index d7f41dbf95..6d67d19c25 100644 --- a/src/lib/libssl/ssl_stat.c +++ b/src/lib/libssl/ssl_stat.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_stat.c,v 1.11 2014/07/13 00:08:44 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_stat.c,v 1.12 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -83,6 +83,7 @@ | |||
| 83 | */ | 83 | */ |
| 84 | 84 | ||
| 85 | #include <stdio.h> | 85 | #include <stdio.h> |
| 86 | |||
| 86 | #include "ssl_locl.h" | 87 | #include "ssl_locl.h" |
| 87 | 88 | ||
| 88 | const char * | 89 | const char * |
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c index 3540bab313..508db476d8 100644 --- a/src/lib/libssl/ssl_txt.c +++ b/src/lib/libssl/ssl_txt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_txt.c,v 1.24 2014/07/12 19:45:53 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_txt.c,v 1.25 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -83,7 +83,9 @@ | |||
| 83 | */ | 83 | */ |
| 84 | 84 | ||
| 85 | #include <stdio.h> | 85 | #include <stdio.h> |
| 86 | |||
| 86 | #include <openssl/buffer.h> | 87 | #include <openssl/buffer.h> |
| 88 | |||
| 87 | #include "ssl_locl.h" | 89 | #include "ssl_locl.h" |
| 88 | 90 | ||
| 89 | int | 91 | int |
diff --git a/src/lib/libssl/t1_clnt.c b/src/lib/libssl/t1_clnt.c index cb5f26a07c..b2adbaee73 100644 --- a/src/lib/libssl/t1_clnt.c +++ b/src/lib/libssl/t1_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_clnt.c,v 1.15 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: t1_clnt.c,v 1.16 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,10 +57,12 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include "ssl_locl.h" | 61 | #include "ssl_locl.h" |
| 62 | |||
| 61 | #include <openssl/buffer.h> | 63 | #include <openssl/buffer.h> |
| 62 | #include <openssl/objects.h> | ||
| 63 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
| 65 | #include <openssl/objects.h> | ||
| 64 | 66 | ||
| 65 | static const SSL_METHOD *tls1_get_client_method(int ver); | 67 | static const SSL_METHOD *tls1_get_client_method(int ver); |
| 66 | 68 | ||
diff --git a/src/lib/libssl/t1_enc.c b/src/lib/libssl/t1_enc.c index ea5df0bf63..fc313efc2c 100644 --- a/src/lib/libssl/t1_enc.c +++ b/src/lib/libssl/t1_enc.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_enc.c,v 1.71 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: t1_enc.c,v 1.72 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -136,7 +136,9 @@ | |||
| 136 | */ | 136 | */ |
| 137 | 137 | ||
| 138 | #include <stdio.h> | 138 | #include <stdio.h> |
| 139 | |||
| 139 | #include "ssl_locl.h" | 140 | #include "ssl_locl.h" |
| 141 | |||
| 140 | #include <openssl/evp.h> | 142 | #include <openssl/evp.h> |
| 141 | #include <openssl/hmac.h> | 143 | #include <openssl/hmac.h> |
| 142 | #include <openssl/md5.h> | 144 | #include <openssl/md5.h> |
diff --git a/src/lib/libssl/t1_meth.c b/src/lib/libssl/t1_meth.c index de066322f4..e0cc50e117 100644 --- a/src/lib/libssl/t1_meth.c +++ b/src/lib/libssl/t1_meth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_meth.c,v 1.13 2014/08/10 14:42:56 jsing Exp $ */ | 1 | /* $OpenBSD: t1_meth.c,v 1.14 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,7 +57,9 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include <openssl/objects.h> | 61 | #include <openssl/objects.h> |
| 62 | |||
| 61 | #include "ssl_locl.h" | 63 | #include "ssl_locl.h" |
| 62 | 64 | ||
| 63 | static const SSL_METHOD *tls1_get_method(int ver); | 65 | static const SSL_METHOD *tls1_get_method(int ver); |
diff --git a/src/lib/libssl/t1_reneg.c b/src/lib/libssl/t1_reneg.c index fee9dd8e4a..c93105ef4d 100644 --- a/src/lib/libssl/t1_reneg.c +++ b/src/lib/libssl/t1_reneg.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_reneg.c,v 1.8 2014/06/21 20:27:25 tedu Exp $ */ | 1 | /* $OpenBSD: t1_reneg.c,v 1.9 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -108,8 +108,11 @@ | |||
| 108 | * Hudson (tjh@cryptsoft.com). | 108 | * Hudson (tjh@cryptsoft.com). |
| 109 | * | 109 | * |
| 110 | */ | 110 | */ |
| 111 | |||
| 111 | #include <stdio.h> | 112 | #include <stdio.h> |
| 113 | |||
| 112 | #include <openssl/objects.h> | 114 | #include <openssl/objects.h> |
| 115 | |||
| 113 | #include "ssl_locl.h" | 116 | #include "ssl_locl.h" |
| 114 | 117 | ||
| 115 | /* Add the client's renegotiation binding */ | 118 | /* Add the client's renegotiation binding */ |
diff --git a/src/lib/libssl/t1_srvr.c b/src/lib/libssl/t1_srvr.c index ba579dd110..ab3fb7cdbf 100644 --- a/src/lib/libssl/t1_srvr.c +++ b/src/lib/libssl/t1_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_srvr.c,v 1.15 2014/10/18 16:13:16 jsing Exp $ */ | 1 | /* $OpenBSD: t1_srvr.c,v 1.16 2014/11/16 14:12:47 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -57,10 +57,12 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | |||
| 60 | #include "ssl_locl.h" | 61 | #include "ssl_locl.h" |
| 62 | |||
| 61 | #include <openssl/buffer.h> | 63 | #include <openssl/buffer.h> |
| 62 | #include <openssl/objects.h> | ||
| 63 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
| 65 | #include <openssl/objects.h> | ||
| 64 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
| 65 | 67 | ||
| 66 | static const SSL_METHOD *tls1_get_server_method(int ver); | 68 | static const SSL_METHOD *tls1_get_server_method(int ver); |
