Fix compilation error on Tizen 7.0 67/317367/1
authorKrzysztof Malysa <k.malysa@samsung.com>
Mon, 9 Sep 2024 11:57:33 +0000 (13:57 +0200)
committerKrzysztof Malysa <k.malysa@samsung.com>
Mon, 9 Sep 2024 12:00:09 +0000 (14:00 +0200)
Change-Id: Ie2faac7b8d6729e62bc3ece7e2132d2448d45d4c

srcs/crypto/ec_key.cpp

index ced8c6ee5e4abc6ef61b33386b47400a2f3d6a8b..057abf6913a0d411bc652be595e1cf2fe29b4381 100644 (file)
@@ -260,7 +260,7 @@ CryptoBuffer ECKey::ExportPrivateKey() const
 
 CryptoBuffer ECKey::ExportPublicKey(Format format) const
 {
-    const EC_KEY *ecKey = EVP_PKEY_get0_EC_KEY(m_key);
+    auto *ecKey = EVP_PKEY_get0_EC_KEY(m_key);
 
     switch (format) {
     case Format::DER: {