summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/crypto/Makefile4
-rw-r--r--src/lib/libcrypto/engine/hw_cryptodev.c2
-rw-r--r--src/lib/libssl/d1_srvr.c2
-rw-r--r--src/lib/libssl/s3_srvr.c2
-rw-r--r--src/lib/libssl/src/crypto/engine/hw_cryptodev.c2
-rw-r--r--src/lib/libssl/src/ssl/d1_srvr.c2
-rw-r--r--src/lib/libssl/src/ssl/s3_srvr.c2
-rw-r--r--src/lib/libssl/ssl/Makefile4
8 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libcrypto/crypto/Makefile b/src/lib/libcrypto/crypto/Makefile
index f46702b7eb..7259e461cd 100644
--- a/src/lib/libcrypto/crypto/Makefile
+++ b/src/lib/libcrypto/crypto/Makefile
@@ -1,11 +1,11 @@
1# $OpenBSD: Makefile,v 1.26 2014/04/18 19:41:21 miod Exp $ 1# $OpenBSD: Makefile,v 1.27 2014/04/23 05:13:57 beck Exp $
2 2
3LIB= crypto 3LIB= crypto
4 4
5SSL_SRC= ${.CURDIR}/../../libssl/src 5SSL_SRC= ${.CURDIR}/../../libssl/src
6LCRYPTO_SRC= ${SSL_SRC}/crypto 6LCRYPTO_SRC= ${SSL_SRC}/crypto
7 7
8CFLAGS+= -Wall 8CFLAGS+= -Wall -Werror
9 9
10.include <bsd.own.mk> # for 'NOPIC' definition 10.include <bsd.own.mk> # for 'NOPIC' definition
11.if !defined(NOPIC) 11.if !defined(NOPIC)
diff --git a/src/lib/libcrypto/engine/hw_cryptodev.c b/src/lib/libcrypto/engine/hw_cryptodev.c
index bc953872dd..190dcc4f75 100644
--- a/src/lib/libcrypto/engine/hw_cryptodev.c
+++ b/src/lib/libcrypto/engine/hw_cryptodev.c
@@ -654,7 +654,7 @@ xcrypt_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
654 unsigned char *ivs = DOALIGN(ivs_store); 654 unsigned char *ivs = DOALIGN(ivs_store);
655 void *iiv, *iv = NULL, *ivp = NULL; 655 void *iiv, *iv = NULL, *ivp = NULL;
656 const void *usein = in; 656 const void *usein = in;
657 void *useout = out, *spare; 657 void *useout = out, *spare = NULL;
658 int cws[4 + 3], *cw = DOALIGN(cws); 658 int cws[4 + 3], *cw = DOALIGN(cws);
659 659
660 if (!inl) 660 if (!inl)
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c
index 8fa75819bb..9995278a26 100644
--- a/src/lib/libssl/d1_srvr.c
+++ b/src/lib/libssl/d1_srvr.c
@@ -1016,7 +1016,7 @@ dtls1_send_server_key_exchange(SSL *s)
1016 1016
1017#endif 1017#endif
1018#ifndef OPENSSL_NO_PSK 1018#ifndef OPENSSL_NO_PSK
1019 size_t pskhintlen; 1019 size_t pskhintlen = 0;
1020#endif 1020#endif
1021 EVP_PKEY *pkey; 1021 EVP_PKEY *pkey;
1022 unsigned char *p, *d; 1022 unsigned char *p, *d;
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c
index ea3137c074..f3edcc2efb 100644
--- a/src/lib/libssl/s3_srvr.c
+++ b/src/lib/libssl/s3_srvr.c
@@ -1552,7 +1552,7 @@ ssl3_send_server_key_exchange(SSL *s)
1552 1552
1553#endif 1553#endif
1554#ifndef OPENSSL_NO_PSK 1554#ifndef OPENSSL_NO_PSK
1555 size_t pskhintlen; 1555 size_t pskhintlen = 0;
1556#endif 1556#endif
1557 EVP_PKEY *pkey; 1557 EVP_PKEY *pkey;
1558 const EVP_MD *md = NULL; 1558 const EVP_MD *md = NULL;
diff --git a/src/lib/libssl/src/crypto/engine/hw_cryptodev.c b/src/lib/libssl/src/crypto/engine/hw_cryptodev.c
index bc953872dd..190dcc4f75 100644
--- a/src/lib/libssl/src/crypto/engine/hw_cryptodev.c
+++ b/src/lib/libssl/src/crypto/engine/hw_cryptodev.c
@@ -654,7 +654,7 @@ xcrypt_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
654 unsigned char *ivs = DOALIGN(ivs_store); 654 unsigned char *ivs = DOALIGN(ivs_store);
655 void *iiv, *iv = NULL, *ivp = NULL; 655 void *iiv, *iv = NULL, *ivp = NULL;
656 const void *usein = in; 656 const void *usein = in;
657 void *useout = out, *spare; 657 void *useout = out, *spare = NULL;
658 int cws[4 + 3], *cw = DOALIGN(cws); 658 int cws[4 + 3], *cw = DOALIGN(cws);
659 659
660 if (!inl) 660 if (!inl)
diff --git a/src/lib/libssl/src/ssl/d1_srvr.c b/src/lib/libssl/src/ssl/d1_srvr.c
index 8fa75819bb..9995278a26 100644
--- a/src/lib/libssl/src/ssl/d1_srvr.c
+++ b/src/lib/libssl/src/ssl/d1_srvr.c
@@ -1016,7 +1016,7 @@ dtls1_send_server_key_exchange(SSL *s)
1016 1016
1017#endif 1017#endif
1018#ifndef OPENSSL_NO_PSK 1018#ifndef OPENSSL_NO_PSK
1019 size_t pskhintlen; 1019 size_t pskhintlen = 0;
1020#endif 1020#endif
1021 EVP_PKEY *pkey; 1021 EVP_PKEY *pkey;
1022 unsigned char *p, *d; 1022 unsigned char *p, *d;
diff --git a/src/lib/libssl/src/ssl/s3_srvr.c b/src/lib/libssl/src/ssl/s3_srvr.c
index ea3137c074..f3edcc2efb 100644
--- a/src/lib/libssl/src/ssl/s3_srvr.c
+++ b/src/lib/libssl/src/ssl/s3_srvr.c
@@ -1552,7 +1552,7 @@ ssl3_send_server_key_exchange(SSL *s)
1552 1552
1553#endif 1553#endif
1554#ifndef OPENSSL_NO_PSK 1554#ifndef OPENSSL_NO_PSK
1555 size_t pskhintlen; 1555 size_t pskhintlen = 0;
1556#endif 1556#endif
1557 EVP_PKEY *pkey; 1557 EVP_PKEY *pkey;
1558 const EVP_MD *md = NULL; 1558 const EVP_MD *md = NULL;
diff --git a/src/lib/libssl/ssl/Makefile b/src/lib/libssl/ssl/Makefile
index 2deb1b6e00..64dd10bb6d 100644
--- a/src/lib/libssl/ssl/Makefile
+++ b/src/lib/libssl/ssl/Makefile
@@ -1,11 +1,11 @@
1# $OpenBSD: Makefile,v 1.39 2014/04/17 20:44:04 tedu Exp $ 1# $OpenBSD: Makefile,v 1.40 2014/04/23 05:13:57 beck Exp $
2 2
3LIB= ssl 3LIB= ssl
4 4
5SSL_SRC= ${.CURDIR}/../../libssl/src 5SSL_SRC= ${.CURDIR}/../../libssl/src
6LSSL_SRC= ${SSL_SRC}/ssl 6LSSL_SRC= ${SSL_SRC}/ssl
7 7
8CFLAGS+= -Wall 8CFLAGS+= -Wall -Werror
9CFLAGS+= -DTERMIOS -DANSI_SOURCE 9CFLAGS+= -DTERMIOS -DANSI_SOURCE
10CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 10CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5
11CFLAGS+= -I${SSL_SRC} 11CFLAGS+= -I${SSL_SRC}