Automatically detect OpenBSD's CA cert bundle.
diff --git a/CHANGES b/CHANGES
index 5f2c2d1..3f25a54 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,9 @@
 
                                   Changelog
 
+Daniel Fandrich (20 Nov 2008)
+- Automatically detect OpenBSD's CA cert bundle.
+
 Daniel Stenberg (19 Nov 2008)
 - I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
   used. It has been used since forever but it was never a good idea to use
diff --git a/acinclude.m4 b/acinclude.m4
index bfe5b18..71cf5e2 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2541,6 +2541,7 @@
 dnl /etc/pki/tls/certs/ca-bundle.crt Redhat and Mandriva
 dnl /usr/share/ssl/certs/ca-bundle.crt old(er) Redhat
 dnl /usr/local/share/certs/ca-root.crt FreeBSD
+dnl /etc/ssl/cert.pem OpenBSD
 dnl /etc/ssl/certs/ (ca path) SUSE
 
 AC_DEFUN([CURL_CHECK_CA_BUNDLE], [
@@ -2603,6 +2604,7 @@
                /etc/pki/tls/certs/ca-bundle.crt \
                /usr/share/ssl/certs/ca-bundle.crt \
                /usr/local/share/certs/ca-root.crt \
+               /etc/ssl/cert.pem \
                "$cac"; do
         if test -f "$a"; then
           ca="$a"