chiark / gitweb /
server/tripe.h: Don't say `struct bulkcrypto' where we don't have to.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 14 May 2017 17:19:08 +0000 (18:19 +0100)
server/tripe.h

index a967ae6..86d3779 100644 (file)
@@ -176,7 +176,7 @@ typedef struct bulkcrypto {
 struct algswitch {
   const gchash *h;                     /* Hash function */
   const gccipher *mgf;                 /* Mask-generation function */
-  const struct bulkcrypto *bulk;       /* Bulk crypto transformation */
+  const bulkcrypto *bulk;              /* Bulk crypto transformation */
   const gccipher *c;                   /* Symmetric encryption scheme */
   const gcmac *m;                      /* Message authentication code */
   const gccipher *b;                   /* Block cipher */
@@ -210,7 +210,7 @@ typedef struct knode {
 
 #define HASH_STRING(h, s) GH_HASH((h), (s), sizeof(s))
 
-extern const struct bulkcrypto bulktab[];
+extern const bulkcrypto bulktab[];
 
 /*----- Data structures ---------------------------------------------------*/