[Cryptech-Commits] [sw/libhal] 03/03: Drop <assert.h> now that everything should be using hal_assert() instead.

git at cryptech.is git at cryptech.is
Sun May 20 23:47:08 UTC 2018


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

sra at hactrn.net pushed a commit to branch master
in repository sw/libhal.

commit 31c072187ecdedc03f04c4c3d2cb389c0c499a07
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Sun May 20 19:15:58 2018 -0400

    Drop <assert.h> now that everything should be using hal_assert() instead.
---
 aes_keywrap.c  | 1 -
 asn1.c         | 1 -
 ecdsa.c        | 1 -
 hash.c         | 1 -
 ks_attribute.c | 1 -
 ks_token.c     | 1 -
 ks_volatile.c  | 1 -
 pbkdf2.c       | 1 -
 rpc_client.c   | 2 --
 rpc_pkcs1.c    | 2 --
 rpc_pkey.c     | 1 -
 uuid.c         | 1 -
 12 files changed, 14 deletions(-)

diff --git a/aes_keywrap.c b/aes_keywrap.c
index be082f6..144ad68 100644
--- a/aes_keywrap.c
+++ b/aes_keywrap.c
@@ -45,7 +45,6 @@
 
 #include <stdint.h>
 #include <string.h>
-#include <assert.h>
 
 #include "hal.h"
 #include "hal_internal.h"
diff --git a/asn1.c b/asn1.c
index 1ead2e7..8d7f6f6 100644
--- a/asn1.c
+++ b/asn1.c
@@ -49,7 +49,6 @@
  */
 
 #include <stdint.h>
-#include <assert.h>
 
 #include "hal.h"
 #include "hal_internal.h"
diff --git a/ecdsa.c b/ecdsa.c
index c92dfbf..6d518fa 100644
--- a/ecdsa.c
+++ b/ecdsa.c
@@ -68,7 +68,6 @@
  */
 
 #include <stdint.h>
-#include <assert.h>
 
 #include "hal.h"
 #include "hal_internal.h"
diff --git a/hash.c b/hash.c
index 59ca88a..e143e49 100644
--- a/hash.c
+++ b/hash.c
@@ -34,7 +34,6 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <assert.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/ks_attribute.c b/ks_attribute.c
index 1eefefb..9e66994 100644
--- a/ks_attribute.c
+++ b/ks_attribute.c
@@ -33,7 +33,6 @@
  */
 
 #include <string.h>
-#include <assert.h>
 
 #include "hal.h"
 #include "hal_internal.h"
diff --git a/ks_token.c b/ks_token.c
index 1676bc0..e68056d 100644
--- a/ks_token.c
+++ b/ks_token.c
@@ -44,7 +44,6 @@
 
 #include <stddef.h>
 #include <string.h>
-#include <assert.h>
 
 #include "hal.h"
 #include "hal_internal.h"
diff --git a/ks_volatile.c b/ks_volatile.c
index 2d0abd4..55fd6a5 100644
--- a/ks_volatile.c
+++ b/ks_volatile.c
@@ -37,7 +37,6 @@
  */
 
 #include <string.h>
-#include <assert.h>
 
 #include "hal.h"
 #include "hal_internal.h"
diff --git a/pbkdf2.c b/pbkdf2.c
index 607a0fb..e9dc03b 100644
--- a/pbkdf2.c
+++ b/pbkdf2.c
@@ -34,7 +34,6 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <assert.h>
 #include <string.h>
 #include <stdint.h>
 
diff --git a/rpc_client.c b/rpc_client.c
index 13ea265..afa05ac 100644
--- a/rpc_client.c
+++ b/rpc_client.c
@@ -33,8 +33,6 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <assert.h>
-
 #include "hal.h"
 #include "hal_internal.h"
 #include "xdr_internal.h"
diff --git a/rpc_pkcs1.c b/rpc_pkcs1.c
index 96bd296..1cf5cfd 100644
--- a/rpc_pkcs1.c
+++ b/rpc_pkcs1.c
@@ -32,8 +32,6 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <assert.h>
-
 #include "hal.h"
 #include "hal_internal.h"
 
diff --git a/rpc_pkey.c b/rpc_pkey.c
index c1cefea..6ef520e 100644
--- a/rpc_pkey.c
+++ b/rpc_pkey.c
@@ -34,7 +34,6 @@
  */
 
 #include <string.h>
-#include <assert.h>
 
 #include "hal.h"
 #include "hal_internal.h"
diff --git a/uuid.c b/uuid.c
index 8b82066..0a4d2d1 100644
--- a/uuid.c
+++ b/uuid.c
@@ -33,7 +33,6 @@
  */
 
 #include <stdio.h>
-#include <assert.h>
 
 #include "hal.h"
 #include "hal_internal.h"



More information about the Commits mailing list