Add support for PolarSSL 1.3.x
[umurmur.git] / src / ssl.h
index 3b310cc4b4425761f2eca39497f4dbf8f8c90a1a..0340673bdc4be894b3561651c76f7169839b6f68 100644 (file)
--- a/src/ssl.h
+++ b/src/ssl.h
@@ -70,7 +70,10 @@ int urandom_bytes(void *ctx, unsigned char *dest, size_t len);
 #endif
 
 #if (POLARSSL_VERSION_MINOR >= 2)
-    #define POLARSSL_API_V1_2
+    #define POLARSSL_API_V1_2_ABOVE
+#endif
+#if (POLARSSL_VERSION_MINOR == 3)
+    #define POLARSSL_API_V1_3_ABOVE
 #endif
 
 #else /* OpenSSL */