]> the.earth.li Git - onak.git/blobdiff - keydb_hkp.c
Cleanup various includes
[onak.git] / keydb_hkp.c
index d55551e5724273ccf17fa44c232cb88e71c0dabc..a65d11b238cb155cf9bc88dbc9eb9a708e2d0be9 100644 (file)
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#include <inttypes.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <unistd.h>
 #include <curl/curl.h>
 
 #include "armor.h"
@@ -36,7 +37,7 @@
 struct onak_hkp_dbctx {
        struct onak_db_config *config; /* Our DB config info */
        CURL *curl;
-       char hkpbase[1024];
+       char hkpbase[512];
 };
 
 static int hkp_parse_url(struct onak_hkp_dbctx *privctx, const char *url)