Skip to content
Permalink
Browse files

fix a typo. there is no WITH_OPENSSL, only WITH_SSL

  • Loading branch information...
vuvova committed Aug 30, 2019
1 parent b047abe commit 0b747e0182dc69fcda7e8492e8da6eaadd564beb
Showing with 8 additions and 10 deletions.
  1. +8 −10 plugins/auth/CMakeLists.txt
@@ -7,16 +7,14 @@ SET(CRYPTO_PLUGIN 1)
IF(WIN32)
SET(CRYPT_SOURCE ${CC_SOURCE_DIR}/libmariadb/secure/win_crypt.c)
SET(CRYPT_LIBS crypt32)
ELSEIF(WITH_OPENSSL)
IF(${WITH_SSL} STREQUAL "OPENSSL")
SET(CRYPT_SOURCE ${CC_SOURCE_DIR}/libmariadb/secure/openssl_crypt.c)
SET(CRYPT_LIBS ${SSL_LIBRARIES})
ELSEIF(${WITH_SSL} STREQUAL "GNUTLS")
SET(CRYPT_SOURCE ${CC_SOURCE_DIR}/libmariadb/secure/gnutls_crypt.c)
SET(CRYPT_LIBS ${SSL_LIBRARIES})
ELSE()
UNSET(CRYPTO_PLUGIN)
ENDIF()
ELSEIF(WITH_SSL STREQUAL "OPENSSL")
SET(CRYPT_SOURCE ${CC_SOURCE_DIR}/libmariadb/secure/openssl_crypt.c)
SET(CRYPT_LIBS ${SSL_LIBRARIES})
ELSEIF(WITH_SSL STREQUAL "GNUTLS")
SET(CRYPT_SOURCE ${CC_SOURCE_DIR}/libmariadb/secure/gnutls_crypt.c)
SET(CRYPT_LIBS ${SSL_LIBRARIES})
ELSE()
UNSET(CRYPTO_PLUGIN)
ENDIF()

#native password

0 comments on commit 0b747e0

Please sign in to comment.
You can’t perform that action at this time.