Don't typedef the same struct in two header files.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 13 Aug 2013 18:40:40 +0000 (20:40 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 13 Aug 2013 18:40:40 +0000 (20:40 +0200)
Some (older?) versions of GCC don't like this.

src/openssl/digest.h

index 542c63c..0a32707 100644 (file)
 
 #include <openssl/evp.h>
 
-typedef struct digest {
+struct digest {
        const EVP_MD *digest;
        int maclength;
        int keylength;
        char *key;
-} digest_t;
+};
 
 #endif