From: Janne J. <jan...@bi...> - 2002-04-02 11:55:14
|
I have made some diffs to make it compile under OpenBSD 3.0. This does not mean that I have tested it remotely yet, since I'm still at the "more README" stage on openvpn, but I know my way around makefiles and includes. =) In short, the diff fixes these things: * NULL is already defined on my openbsd, #ifndef'ed it away. * linux-specific include-files changed to fit obsd. These will need #ifdef's of course. I added and changed until it compiled, nothing more. * the functions encrypt() and decrypt() are already defined by obsd-libc so they were renamed to openvpn_{en|de}crypt(). On the "I haven't tested" part, it does start and run if given --dev tun0, and gives me 4 lines of output that says "ok so far", so I guess it's at least close to working. -- Janne Johansson jan...@bi... BioMat Systems AB Klarabergsg 37 3tr 111 21 Stockholm |