Merge branch 'feature/hsts'
authorDaniel Carl <danielcarl@gmx.de>
Wed, 28 May 2014 08:22:52 +0000 (10:22 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Wed, 28 May 2014 08:24:42 +0000 (10:24 +0200)
Conflicts:
config.mk

1  2 
README.md
config.mk
src/main.c

diff --cc README.md
+++ b/README.md
@@@ -29,6 -29,6 +29,7 @@@ the [vimb project page][vimb]
  - webinspector that opens ad the bottom of the browser window like in some
    other fat browsers
  - ssl validation against ca-certificate file
++- HTTP Strict Transport Security (HSTS)
  - custom configuration files
  - open input or textarea with configurable external editor
  - user defined URL-shortcuts with placeholders
diff --cc config.mk
+++ b/config.mk
@@@ -40,8 -40,8 +40,8 @@@ LIBFLAGS = $(shell pkg-config --libs $(
  
  # normal compiler flags
  CFLAGS  += $(shell pkg-config --cflags $(LIBS))
- CFLAGS  += -Wall -pipe -std=c99 -pedantic
- CFLAGS  += -Wno-overlength-strings
 -CFLAGS  += -Wall -pipe -ansi -std=c99
++CFLAGS  += -Wall -pipe -std=c99
+ CFLAGS  += -Wno-overlength-strings -Werror=format-security
  CFLAGS  += ${CPPFLAGS}
  LDFLAGS += ${LIBFLAGS}
  
diff --cc src/main.c
  #include "dom.h"
  #include "hints.h"
  #include "shortcut.h"
 +#include "handlers.h"
  #include "history.h"
- #include "session.h"
+ #include "cookiejar.h"
+ #include "hsts.h"
  #include "mode.h"
  #include "normal.h"
  #include "ex.h"