Adjust OpenBSD-specific code to match OpenBSD-current
commit1bcfb89cd14742e49e36b5a67eaee2502e2e40a9
authorTobias Stoeckmann <tobias@openbsd.org>
Sun, 29 Apr 2012 11:44:21 +0000 (29 13:44 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 30 Apr 2012 17:50:17 +0000 (30 14:50 -0300)
tree5a1aba2e06eaadce5f615c3735097f4cb8673f4b
parente83eeb15cccdcca9970355deb4dd877c1a570247
Adjust OpenBSD-specific code to match OpenBSD-current

Also fix null pointer dereference by NOT calling strlen on a possible
null pointer.
src/osdep_bsd.c