[NEWSboard IBMi Forum]

Thema: SSL_INIT

Hybrid View

  1. #1
    Registriert seit
    Feb 2001
    Beiträge
    20.799
    Ich denke, das hat eher mit der Prozedurdeklaration zu tun.
    Die Art der übergebenen Parameter sind möglicherweise falsch.
    Dienstleistungen? Die gibt es hier: http://www.fuerchau.de
    Das Excel-AddIn: https://www.ftsolutions.de/index.php/downloads
    BI? Da war doch noch was: http://www.ftsolutions.de

  2. #2
    Registriert seit
    Aug 2003
    Beiträge
    163
    Ich habe jetzt eine Information gefunden, dass SSL_INIT_Application statt SSL_INIT benutzt werden sollte. Ein Beispiel dazu habe ich auch gefunden und angepasst.

    Code:
    SSLInitApp_p = %alloc(%size(SSLInitApp));                 
    SSLInitApp = *loval;                                      
    %str(%addr(c_sslAppID):%len(%trim(ssl_App_Name))) =       
                  %trim(SSL_App_Name);                        
    SSLInitApp.AppID = %addr(c_sslAppID);                     
    SSLInitApp.AppIDLen = %scan(X'00':c_sslAppID) - 1;        
    SSLInitApp.lclCert = *Null;                               
    SSLInitApp.lclCertLen = 0;                                
    SSLInitApp.CipherList = %addr(SSLCipherList);             
    SSLInitApp.CipherElem = 11;                               
    SSLInitApp.SessType = 0;                                  
    SSLInitApp.reserved1 = 0;                                 
    SSLInitApp.protocol = 0;                                  
    SSLInitApp.TimeOut = 0;                                   
     rc = SSL_Init_Application(%addr(SSLInitApp_p));      
    if rc <> 0;                                           
    // handle error!                                      
              Msg   = %str(strerror(errno));              
           die(%editc(rc:'P') + ' ' + Msg);               
    endif;
    Dann bekomme ich den Fehler zurück:

    Der für das Argument angegebene Wert ist nicht korrekt.
    Leider wird nicht angegeben, welches Argument. Sieht jemand was offensichtlich Falsches?

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • You may not post attachments
  • You may not edit your posts
  •