]> git.saurik.com Git - apple/security.git/blobdiff - AppleCSP/open_ssl/rsa/rsa_gen.c
Security-163.tar.gz
[apple/security.git] / AppleCSP / open_ssl / rsa / rsa_gen.c
index 0a0125d4d59648244580ddeeba47b2d40119d69b..6095dfcffee37682874fe7a8064721127181060b 100644 (file)
@@ -85,7 +85,8 @@ RSA *RSA_generate_key(int bits, unsigned long e_value,
        {
        RSA *rsa=NULL;
        BIGNUM *r0=NULL,*r1=NULL,*r2=NULL,*r3=NULL,*tmp;
-       int bitsp,bitsq,ok= -1,n=0,i;
+       int bitsp,bitsq,ok= -1,n=0;
+       unsigned i;
        BN_CTX *ctx=NULL,*ctx2=NULL;
 
        ctx=BN_CTX_new();