Fixed code for openssl 1.0+, pass the CAFile parameter on verify function because RootCA is a self signed cert ( just for testing ).
Fixed code for openssl 1.0+, pass the CAFile parameter on verify function because RootCA is a self signed cert ( just for testing ).

linearregression/otrs,muehlbauer/otrs,noritnk/otrs,crythias/otrs,balazj/otrs,nilei/otrs,rudy500/otrs,eliasp/otrs,xhoy/otrs,brandonshults01/otrs,crythias/otrs,StCyr/otrs,xhoy/otrs,oiami/otrs,eliasp/otrs,brandonshults01/otrs,muehlbauer/otrs,oiami/otrs,crythias/otrs,xhoy/otrs,vlascoder/otrs,vlascoder/otrs,linearregression/otrs,brandonshults01/otrs,rudy500/otrs,rudy500/otrs,crythias/otrs,linearregression/otrs,muehlbauer/otrs,capeit-tto/otrs,muehlbauer/otrs,mbeijen/otrs-1,rudy500/otrs,brandonshults01/otrs,balazj/otrs,StCyr/otrs,moritz/otrs,nilei/otrs,noritnk/otrs,mburggraf/otrs,mburggraf/otrs,mbeijen/otrs-1,thorsteneckel/otrs,moritz/otrs,PortgasDAce/otrs,capeit-tto/otrs,mbeijen/otrs-1,MBRG/otrs,crythias/otrs,mburggraf/otrs,moritz/otrs,thorsteneckel/otrs,capeit-tto/otrs,oiami/otrs,eliasp/otrs,moritz/otrs,oiami/otrs,balazj/otrs,linearregression/otrs,linearregression/otrs,balazj/otrs,StCyr/otrs,thorsteneckel/otrs,MBRG/otrs,rudy500/otrs,xhoy/otrs,eliasp/otrs,balazj/otrs,s7design/otrs,mburggraf/otrs,nilei/otrs,PortgasDAce/otrs,s7design/otrs,thorsteneckel/otrs,nilei/otrs,StCyr/otrs,s7design/otrs,s7design/otrs,xhoy/otrs,oiami/otrs,PortgasDAce/otrs,MBRG/otrs,mburggraf/otrs,StCyr/otrs,MBRG/otrs,thorsteneckel/otrs,MBRG/otrs,nilei/otrs,vlascoder/otrs,muehlbauer/otrs,brandonshults01/otrs,noritnk/otrs,eliasp/otrs,moritz/otrs,s7design/otrs,PortgasDAce/otrs,PortgasDAce/otrs