diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom
index dc6391a561381ddda59533e7ffffc02a6f58e77a..7af368ba6cb793080545904a5c1cc77cb0cb62dc 100644
--- a/lib/Makefile.Watcom
+++ b/lib/Makefile.Watcom
@@ -94,7 +94,7 @@ LIBRTMP_ROOT = ..$(DS)..$(DS)rtmpdump-2.3
 !ifdef %openssl_root
 OPENSSL_ROOT = $(%openssl_root)
 !else
-OPENSSL_ROOT = ..$(DS)..$(DS)openssl-0.9.8o
+OPENSSL_ROOT = ..$(DS)..$(DS)openssl-0.9.8q
 !endif
 
 !ifdef %ares_root
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index 08b665b8cdf096198c92e7fb5a3decd5fe4155f0..04b6450a5f63fd63991a91c5a0d918a9c041bf14 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -20,7 +20,7 @@ ZLIB_PATH = ../../zlib-1.2.5
 endif
 # Edit the path below to point to the base of your OpenSSL package.
 ifndef OPENSSL_PATH
-OPENSSL_PATH = ../../openssl-0.9.8o
+OPENSSL_PATH = ../../openssl-0.9.8q
 endif
 # Edit the path below to point to the base of your LibSSH2 package.
 ifndef LIBSSH2_PATH
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 9a14201bcc31de05b620582462cd1aee1f7726a9..bce429e66b258eb46ba6f0c666a0d7b9b742374d 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -19,7 +19,7 @@ endif
 
 # Edit the path below to point to the base of your OpenSSL package.
 ifndef OPENSSL_PATH
-OPENSSL_PATH = ../../openssl-0.9.8o
+OPENSSL_PATH = ../../openssl-0.9.8q
 endif
 
 # Edit the path below to point to the base of your LibSSH2 package.
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 0f726c4496e78fad148f8f64fa75329a43abc6dc..eb2e766b2b39b6c12395c0c5d8dcef690bb0b346 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -90,7 +90,7 @@ LIBRTMP_ROOT = ..$(DS)..$(DS)rtmpdump-2.3
 !ifdef %openssl_root
 OPENSSL_ROOT = $(%openssl_root)
 !else
-OPENSSL_ROOT = ..$(DS)..$(DS)openssl-0.9.8o
+OPENSSL_ROOT = ..$(DS)..$(DS)openssl-0.9.8q
 !endif
 
 !ifdef %ares_root
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index dfe80927a5f678196cf80a59153ef5649cb90c41..f7d0d92d9514b7ec6bf2b290b7bfd480fcbd37cf 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -20,7 +20,7 @@ ZLIB_PATH = ../../zlib-1.2.5
 endif
 # Edit the path below to point to the base of your OpenSSL package.
 ifndef OPENSSL_PATH
-OPENSSL_PATH = ../../openssl-0.9.8o
+OPENSSL_PATH = ../../openssl-0.9.8q
 endif
 # Edit the path below to point to the base of your LibSSH2 package.
 ifndef LIBSSH2_PATH
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 654ddf50bf23d9865c14ed2a5ff6bf94926aa1cd..81482891ca821960e440e9f63c652231676819a3 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -19,7 +19,7 @@ endif
 
 # Edit the path below to point to the base of your OpenSSL package.
 ifndef OPENSSL_PATH
-OPENSSL_PATH = ../../openssl-0.9.8o
+OPENSSL_PATH = ../../openssl-0.9.8q
 endif
 
 # Edit the path below to point to the base of your LibSSH2 package.