Einzelnen Beitrag anzeigen

philipp.hofmann

Registriert seit: 21. Mär 2012
Ort: Hannover
890 Beiträge
 
Delphi 10.4 Sydney
 
#2

AW: OpenSSL library files for Android 64 bit

  Alt 20. Dez 2020, 16:39
OpenSSL-so-Files-Directories for Android for 64-Bit-Projects if you want to create a bundle:
- 32-Bit-so-files -> library\lib\armeabi-v7a\
- 64-Bit-so-files -> llibrary\lib\arm64-v8a\

Initialization:
Delphi-Quellcode:
  var help2:String;
  help2:=IdSSLOpenSSLHeaders.WhichFailedToLoad();
  if (length(help2) > 0) then
  begin
    IdOpenSSLSetLibPath(IncludeTrailingPathDelimiter(TPath.GetLibraryPath));
    IdSSLOpenSSLHeaders.Load();
    help2:=IdSSLOpenSSLHeaders.WhichFailedToLoad();
    if (length(help2) > 0) then
    begin
      IdOpenSSLSetLibPath(IncludeTrailingPathDelimiter(TPath.GetDocumentsPath));
      IdSSLOpenSSLHeaders.Load();
      mlog.info('SSL-Version(3): ' + OpenSSLVersion);
      help2:=IdSSLOpenSSLHeaders.WhichFailedToLoad();
      if (length(help2) > 0) then
      begin
        mlog.info('SSL-Errors: ' + help2);
      end;
    end else begin
      mlog.info('SSL-Version(2): ' + OpenSSLVersion);
    end;
  end else begin
    mlog.info('SSL-Version(1): ' + OpenSSLVersion);
  end;
  Mit Zitat antworten Zitat