mirror of
https://github.com/openssl/openssl.git
synced 2024-12-12 19:43:42 +08:00
Remove warnings.
This commit is contained in:
parent
cb21d001c9
commit
c863201780
@ -1336,7 +1336,7 @@ bad:
|
||||
j=x->cert_info->serialNumber->length;
|
||||
p=(char *)x->cert_info->serialNumber->data;
|
||||
|
||||
if(strlen(outdir) >= (j ? BSIZE-j*2-6 : BSIZE-8))
|
||||
if(strlen(outdir) >= (size_t)(j ? BSIZE-j*2-6 : BSIZE-8))
|
||||
{
|
||||
BIO_printf(bio_err,"certificate file name too long\n");
|
||||
goto err;
|
||||
|
@ -63,7 +63,7 @@ void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
|
||||
const unsigned long length, const AES_KEY *key,
|
||||
unsigned char *ivec, const int enc) {
|
||||
|
||||
int n;
|
||||
unsigned long n;
|
||||
unsigned long len = length;
|
||||
unsigned char tmp[AES_BLOCK_SIZE];
|
||||
|
||||
|
@ -63,6 +63,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
typedef struct buf_mem_st
|
||||
|
Loading…
Reference in New Issue
Block a user