Loading apps/asn1pars.c +1 −1 Original line number Diff line number Diff line Loading @@ -341,7 +341,7 @@ bad: num -= offset; if ((length == 0) || (length > num)) length=(unsigned int)num; if ((length == 0) || ((long)length > num)) length=(unsigned int)num; if(derout) { if(BIO_write(derout, str + offset, length) != (int)length) { BIO_printf(bio_err, "Error writing output\n"); Loading apps/req.c +2 −2 Original line number Diff line number Diff line Loading @@ -1322,7 +1322,7 @@ start: for (;;) /* If OBJ not recognised ignore it */ if ((nid=OBJ_txt2nid(type)) == NID_undef) goto start; if (BIO_snprintf(buf,sizeof buf,"%s_default",v->name) >= sizeof buf) >= (int)sizeof(buf)) { BIO_printf(bio_err,"Name '%s' too long\n",v->name); return 0; Loading Loading @@ -1387,7 +1387,7 @@ start2: for (;;) goto start2; if (BIO_snprintf(buf,sizeof buf,"%s_default",type) >= sizeof buf) >= (int)sizeof(buf)) { BIO_printf(bio_err,"Name '%s' too long\n",v->name); return 0; Loading crypto/des/cfb_enc.c +2 −2 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, c2l(iv,v1); if (enc) { while (l >= n) while (l >= (unsigned long)n) { l-=n; ti[0]=v0; Loading Loading @@ -126,7 +126,7 @@ void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, } else { while (l >= n) while (l >= (unsigned long)n) { l-=n; ti[0]=v0; Loading Loading
apps/asn1pars.c +1 −1 Original line number Diff line number Diff line Loading @@ -341,7 +341,7 @@ bad: num -= offset; if ((length == 0) || (length > num)) length=(unsigned int)num; if ((length == 0) || ((long)length > num)) length=(unsigned int)num; if(derout) { if(BIO_write(derout, str + offset, length) != (int)length) { BIO_printf(bio_err, "Error writing output\n"); Loading
apps/req.c +2 −2 Original line number Diff line number Diff line Loading @@ -1322,7 +1322,7 @@ start: for (;;) /* If OBJ not recognised ignore it */ if ((nid=OBJ_txt2nid(type)) == NID_undef) goto start; if (BIO_snprintf(buf,sizeof buf,"%s_default",v->name) >= sizeof buf) >= (int)sizeof(buf)) { BIO_printf(bio_err,"Name '%s' too long\n",v->name); return 0; Loading Loading @@ -1387,7 +1387,7 @@ start2: for (;;) goto start2; if (BIO_snprintf(buf,sizeof buf,"%s_default",type) >= sizeof buf) >= (int)sizeof(buf)) { BIO_printf(bio_err,"Name '%s' too long\n",v->name); return 0; Loading
crypto/des/cfb_enc.c +2 −2 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, c2l(iv,v1); if (enc) { while (l >= n) while (l >= (unsigned long)n) { l-=n; ti[0]=v0; Loading Loading @@ -126,7 +126,7 @@ void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, } else { while (l >= n) while (l >= (unsigned long)n) { l-=n; ti[0]=v0; Loading