]> git.meshlink.io Git - meshlink/commitdiff
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 542c63cbaa6e93c8b84f999e67b18631020dee69..0a32707eadbf9de4785299d505a41f1200a454e6 100644 (file)
 
 #include <openssl/evp.h>
 
-typedef struct digest {
+struct digest {
        const EVP_MD *digest;
        int maclength;
        int keylength;
        char *key;
-} digest_t;
+};
 
 #endif