polarssl: fix multissl breakage

Reported-by: Dan Fandrich
Bug: https://curl.haxx.se/mail/lib-2017-08/0121.html
Closes #1843
This commit is contained in:
Daniel Stenberg 2017-08-30 10:26:37 +02:00
parent 5fbb494292
commit 5734f73f0d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 4 additions and 7 deletions

View file

@ -2236,7 +2236,7 @@ typedef enum {
CURLSSLBACKEND_OBSOLETE4 = 4, /* Was QSOSSL. */
CURLSSLBACKEND_GSKIT = 5,
CURLSSLBACKEND_POLARSSL = 6,
CURLSSLBACKEND_CYASSL = 7,
CURLSSLBACKEND_WOLFSSL = 7,
CURLSSLBACKEND_SCHANNEL = 8,
CURLSSLBACKEND_DARWINSSL = 9,
CURLSSLBACKEND_AXTLS = 10,
@ -2246,7 +2246,7 @@ typedef enum {
/* aliases for library clones and renames */
#define CURLSSLBACKEND_LIBRESSL CURLSSLBACKEND_OPENSSL
#define CURLSSLBACKEND_BORINGSSL CURLSSLBACKEND_OPENSSL
#define CURLSSLBACKEND_WOLFSSL CURLSSLBACKEND_CYASSL
#define CURLSSLBACKEND_CYASSL CURLSSLBACKEND_WOLFSSL
/* Information about the SSL library used and the respective internal SSL
handle, which can be used to obtain further information regarding the