This is a collection of reports about email delivery
process concerning a message you originated:

<smtp ipebio15.ise.pw.edu.pl [EMAIL PROTECTED] 1284>: ...\
        expired after 3 days, problem was:
        smtp; 500 (connect to ipebio15.ise.pw.edu.pl 
[194.29.161.106|25|194.29.160.2|48861]: Connection timed out)

Following is a copy of MESSAGE/DELIVERY-STATUS format section below.
It is copied here in case your email client is unable to show it to you.
The information here below is in  Internet Standard  format designed to
assist automatic, and accurate presentation and usage of said information.
In case you need human assistance from the Postmaster(s) of the system which
sent you this report, please include this information in your question!

        Virtually Yours,
                Automatic Email delivery Software

Reporting-MTA: dns; elektron.elka.pw.edu.pl
Arrival-Date: Fri, 20 Jul 2001 03:31:59 +0200

Original-Recipient: rfc822;[EMAIL PROTECTED]
Final-Recipient: RFC822;[EMAIL PROTECTED]
Action: failed
Status: 5.4.1 (TCP/IP-connection failure)
Diagnostic-Code: smtp; 500 (connect to ipebio15.ise.pw.edu.pl 
[194.29.161.106|25|194.29.160.2|48861]: Connection timed out)
Remote-MTA: dns; ipebio15.ise.pw.edu.pl (194.29.161.106|25|194.29.160.2|48861)
Last-Attempt-Date: Mon, 23 Jul 2001 10:15:42 +0200

Reporting-MTA: dns; elektron.elka.pw.edu.pl
Arrival-Date: Fri, 20 Jul 2001 03:31:59 +0200

Original-Recipient: rfc822;[EMAIL PROTECTED]
Final-Recipient: RFC822;[EMAIL PROTECTED]
Action: failed
Status: 5.4.1 (TCP/IP-connection failure)
Diagnostic-Code: smtp; 500 (connect to ipebio15.ise.pw.edu.pl [194.29.161.106|25|194.29.160.2|48861]: Connection timed out)
Remote-MTA: dns; ipebio15.ise.pw.edu.pl (194.29.161.106|25|194.29.160.2|48861)
Last-Attempt-Date: Mon, 23 Jul 2001 10:15:42 +0200


hi,
I used EVP interface to encrypt and decrypt,but after I encrypted ,I 
couldn't decrypt it . Why?
Any help is appreciated!

void do_cipher(char *pw, int operation,char * InBuf,int InLen,char * 
OutBuf,int *OutBuflen)
{
                        //operation:    0:DECRYPT
        //              1:ENCRYPT 

        
    unsigned char iv[EVP_MAX_IV_LENGTH], key[EVP_MAX_KEY_LENGTH];
        /* unsigned int ekeylen, net_ekeylen;  */
        EVP_CIPHER_CTX ectx;
        
        memcpy(iv, "12345678", 8);
        EVP_BytesToKey(EVP_idea_cbc(), EVP_md5(), "salt", pw, strlen(pw), 1, key, 
iv);

        EVP_CipherInit(&ectx, EVP_idea_cbc(), key, iv, operation);

        EVP_CipherUpdate(&ectx, OutBuf, OutBuflen, InBuf, InLen);

    EVP_CipherFinal(&ectx, OutBuf, OutBuflen); 

}
void main(void)
{
        char InBuf[512],OutBuf[512+8],OutBuf2[512+8];
        int i,OutLen;

        for(i=0;i<8;i++) InBuf[i]=30+i;
        do_cipher("test",1,InBuf,8,OutBuf,&OutLen);  //OutLen=8
        do_cipher("test",0,OutBuf,8,OutBuf2,&OutLen); //but now OutLen=0
}


_________________________________________________________________
�������� MSN Hotmail վ�� http://www.hotmail.com/cn ����շ������ʼ�

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]


Reply via email to