I need the x64 system to run the X32 programyour example is x64 system to run 
the x64 programX64 system running x64 program is correct, but the x64 system 
running X32 program is wrongcan you help 
me?------------------------------------------------------------------发件人:Salz, 
Rich via RT <[email protected]>发送时间:2016年1月14日(星期四) 00:40收件人:hu_jin 
<[email protected]>抄 送:openssl-dev <[email protected]>主 题:RE: 
[openssl-dev] 答复: [openssl.org #4231] bug openssl rc4 overflowThere is 
something unusual in your local environment.; cat a.c#include 
<string.h>#include <stdio.h>#include<openssl/rc4.h>int main(){    char 
code[64]={0};    char outbuffer[64];    int codelen = sizeof (code);    RC4_KEY 
rc4_key;    strcpy(code,"This is secrect");    RC4_set_key(&rc4_key,7,(unsigned 
char *)"zenraoli");    RC4(&rc4_key,codelen,(unsigned char *)code,outbuffe
 r);    memset(code,0,sizeof(code));    RC4_set_key(&rc4_key,7,(unsigned char 
*)"zenraoli");    RC4(&rc4_key,codelen,outbuffer,(unsigned char *)code);    
printf("|%s|\n", code);    return 0;}; gcc a.c -lcrypto; ./a.out|This is 
secrect|_______________________________________________openssl-bugs-mod mailing 
[email protected]https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
_______________________________________________
openssl-bugs-mod mailing list
[email protected]
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to