<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin: 0;"><br></div><div style="margin: 0;">openssl version: openssl-1.1.1a</div><div style="margin: 0;">os:linux</div><div style="margin: 0;"><span style="color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px;">Hardware platform: imx6uul</span></div><div style="margin: 0;"><span style="color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px;">Compiler Details:</span><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style="font-size: 16px;">arm-poky-linux-gnueabi-gcc 5.3.0 </span></font></div><div style="margin: 0;"><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style="font-size: 16px;"><br></span></font></div><div id="isForwardContent">Subject: error:1012606B:elliptic curve routines:EC_POINT_set_affine_coordinates:point is not on curve<br><div style="line-height: 1.7;"><div style="line-height: 1.7;"><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">I use https with libcurl static library on imx6ull board. It return "<span style="font-size: 20px; color: rgb(221, 64, 50);">error:1012606B:elliptic curve routines:EC_POINT_set_affine_coordinates:point is not on curve</span>" this error. I found this error is in openssl.</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">How can I to do ?</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><b>Openssl Build:</b></div><div style="margin: 0px;">./config --prefix=/home/share/lib/openssl  no-asm no-shared</div><div style="margin: 0px;">make</div><div style="margin: 0px;">make install</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><b>Curl Build:</b></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><b><div style="margin:0;"></div></b><div style="margin:0;">export PATH=/root/perl5/perlbrew/bin:/root/perl5/perlbrew/perls/perl-5.20.1/bin:$PATH</div><div style="margin:0;">export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/share/lib/openssl/lib/pkgconfig:/home/share/lib/zlib/lib/pkgconfig</div><div style="margin:0;">CPPFLAGS="-I/home/share/lib/openssl/include" LDFLAGS="-L/home/share/lib/openssl/lib" ./configure --with-ssl --host=x86_64-pokysdk-linux --with-zlib --prefix=/home/share/lib/curl</div><b><div style="margin:0;"></div></b></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">make</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">make install</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><br></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><b>Code:</b></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">#include <stdio.h></div><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">#include <curl/curl.h></p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><br></p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">int main(void)</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">{</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">  CURL *curl;</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">  CURLcode res;</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><br></p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">  curl_global_init(CURL_GLOBAL_DEFAULT);</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><br></p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">  curl = curl_easy_init();</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">  if(curl) {</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">    curl_easy_setopt(curl, CURLOPT_URL, "https://www.baidu.com");</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><br></p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">    curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">    curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><span style="white-space:pre">   </span>curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">    res = curl_easy_perform(curl);</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">    if(res != CURLE_OK)</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">      fprintf(stderr, "curl_easy_perform() failed: %s\n",</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">              curl_easy_strerror(res));</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">    curl_easy_cleanup(curl);</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">  }</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><br></p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">  curl_global_cleanup();</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;"><br></p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">  return 0;</p><p style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; margin: 0px;">}</p></div><br><br><span title="neteasefooter" style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px;"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span></div></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span>