test1.pas 326 B

1234567891011121314151617181920
  1. program test1;
  2. {$mode objfpc}{$H+}
  3. uses
  4. SysUtils,OpenSSL;
  5. Const
  6. Bools : Array[Boolean] of string = ('Failed','OK');
  7. Var
  8. B : Boolean;
  9. begin
  10. B:=InitSSLInterface(True);
  11. Writeln('Load ',Bools[B],', missing functions: ');
  12. if OpenSSL_unavailable_functions<>'' then
  13. Writeln(OpenSSL_unavailable_functions);
  14. end.