Fix warnings.
authorBen Laurie <ben@links.org>
Mon, 21 Jan 2013 23:02:17 +0000 (23:02 +0000)
committerBen Laurie <ben@links.org>
Mon, 21 Jan 2013 23:02:17 +0000 (23:02 +0000)
engines/ccgost/gost2814789t.c

index 688a3edc969608d55a929115e2392426f5906a93..e4347ccbd926ffb43cbbf4aec65ddf7a0bf2904e 100644 (file)
@@ -22,6 +22,7 @@ int main(int argc, char *argv[])
 #include <openssl/conf.h>
 #include <openssl/crypto.h>
 #include <openssl/engine.h>
+#include <openssl/err.h>
 #include <openssl/evp.h>
 #include <openssl/hmac.h>
 #include <openssl/obj_mac.h>
@@ -1237,7 +1238,7 @@ const g89_tc tcs[] = {
 
 int main(int argc, char *argv[])
 {
-    int t;
+    unsigned t;
     unsigned long long ullMaxLen = 6*1000*1000;
     int ignore = 0;
     ENGINE *impl = NULL;