setcert: check uri before adding a certificate
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 29 Apr 2017 20:16:03 +0000 (22:16 +0200)
committerQuentin Rameau <quinq@fifth.space>
Sun, 30 Apr 2017 09:39:15 +0000 (11:39 +0200)
commitedddfbc14ac3a4413f38171e8fd7767ae56e27bf
treecdfa14736167403ec31644a14e5241e8c4bdb6fc
parent21d81a71cc55ea52c836c49eca351940fefb1287
setcert: check uri before adding a certificate

Also directly check for https scheme, we won't need a certificate for
others.
surf.c