I was able to solve this.
It was a silly mistake of not initializing the libgit2. :D
Thank you so much for your time.
Regards
Hrishikesh Hiraskar
On Fri, May 18, 2018 at 6:04 PM Hrishi Hiraskar <hrishihiraskar@xxxxxxxxx>
wrote:
Compiled succesfully. Thank you Dario.
But `ERR_print_errors_fp (stderr);` did nothing...
On Thu, May 17, 2018 at 10:50 PM Dario Casalinuovo <b.vitruvio@xxxxxxxxx>
wrote:
On Thu, May 17, 2018 at 5:17 PM, Hrishi Hiraskar <
hrishihiraskar@xxxxxxxxx> wrote:
I included <openssl/err.h> where the function ERR_print_errors_fp is
suposed to be.
But still I get
undefined reference to ERR_print_errors_fp
Did you link your program with -lcrypto?