Prepare for release 1.3.9
diff --git a/ChangeLog b/ChangeLog
index 8263b2c..bef1abe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
 PolarSSL ChangeLog (Sorted per branch, date)
 
-= 1.3 branch
+= PolarSSL 1.3.9 released 2014-10-20
 Security
    * Lowest common hash was selected from signature_algorithms extension in
      TLS 1.2 (found by Darren Bane) (introduced in 1.3.8).
diff --git a/doxygen/input/doc_mainpage.h b/doxygen/input/doc_mainpage.h
index 0f36db7..426c1f3 100644
--- a/doxygen/input/doc_mainpage.h
+++ b/doxygen/input/doc_mainpage.h
@@ -4,7 +4,7 @@
  */
 
 /**
- * @mainpage PolarSSL v1.3.8 source code documentation
+ * @mainpage PolarSSL v1.3.9 source code documentation
  *
  * This documentation describes the internal structure of PolarSSL.  It was
  * automatically generated from specially formatted comment blocks in
diff --git a/doxygen/polarssl.doxyfile b/doxygen/polarssl.doxyfile
index 64e4a8d..374197c 100644
--- a/doxygen/polarssl.doxyfile
+++ b/doxygen/polarssl.doxyfile
@@ -28,7 +28,7 @@
 # identify the project. Note that if you do not use Doxywizard you need
 # to put quotes around the project name if it contains spaces.
 
-PROJECT_NAME           = "PolarSSL v1.3.8"
+PROJECT_NAME           = "PolarSSL v1.3.9"
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
 # This could be handy for archiving the generated documentation or
diff --git a/include/polarssl/version.h b/include/polarssl/version.h
index 1ee2a3b..b00687f 100644
--- a/include/polarssl/version.h
+++ b/include/polarssl/version.h
@@ -43,16 +43,16 @@
  */
 #define POLARSSL_VERSION_MAJOR  1
 #define POLARSSL_VERSION_MINOR  3
-#define POLARSSL_VERSION_PATCH  8
+#define POLARSSL_VERSION_PATCH  9
 
 /**
  * The single version number has the following structure:
  *    MMNNPP00
  *    Major version | Minor version | Patch version
  */
-#define POLARSSL_VERSION_NUMBER         0x01030800
-#define POLARSSL_VERSION_STRING         "1.3.8"
-#define POLARSSL_VERSION_STRING_FULL    "PolarSSL 1.3.8"
+#define POLARSSL_VERSION_NUMBER         0x01030900
+#define POLARSSL_VERSION_STRING         "1.3.9"
+#define POLARSSL_VERSION_STRING_FULL    "PolarSSL 1.3.9"
 
 #if defined(POLARSSL_VERSION_C)
 
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index bc986ee..33d96b4 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -118,7 +118,7 @@
 
 if(USE_SHARED_POLARSSL_LIBRARY)
 	add_library(polarssl SHARED ${src})
-	set_target_properties(polarssl PROPERTIES VERSION 1.3.8 SOVERSION 7)
+	set_target_properties(polarssl PROPERTIES VERSION 1.3.9 SOVERSION 7)
 
 	target_link_libraries(polarssl ${libs})
 
diff --git a/tests/suites/test_suite_version.data b/tests/suites/test_suite_version.data
index 4ef73da..4c205e6 100644
--- a/tests/suites/test_suite_version.data
+++ b/tests/suites/test_suite_version.data
@@ -1,8 +1,8 @@
 Check compiletime library version
-check_compiletime_version:"1.3.8"
+check_compiletime_version:"1.3.9"
 
 Check runtime library version
-check_runtime_version:"1.3.8"
+check_runtime_version:"1.3.9"
 
 Check for POLARSSL_VERSION_C
 check_feature:"POLARSSL_VERSION_C":0