polarssl: remove support for version 1.2
[project/ustream-ssl.git] / ustream-polarssl.h
index 3265472..3c4a5ed 100644 (file)
 #include <polarssl/version.h>
 #include <polarssl/entropy.h>
 
-#if POLARSSL_VERSION_MAJOR > 1 || POLARSSL_VERSION_MINOR >= 3
-#define USE_VERSION_1_3
-#else
-#define x509_crt x509_cert
-#endif
-
 struct ustream_ssl_ctx {
-#ifdef USE_VERSION_1_3
        pk_context key;
-#else
-       rsa_context key;
-#endif
        x509_crt ca_cert;
        x509_crt cert;
        bool server;