declaration to pass -Wextra, should we want to add it to CFLAGS.
No binary change.
void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key)
{
register CAST_LONG l,r,t;
- const register CAST_LONG *k;
+ register const CAST_LONG *k;
k= &(key->data[0]);
l=data[0];
void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key)
{
register CAST_LONG l,r,t;
- const register CAST_LONG *k;
+ register const CAST_LONG *k;
k= &(key->data[0]);
l=data[0];
};
CONF_METHOD *
-NCONF_default()
+NCONF_default(void)
{
return &default_method;
}
CONF_METHOD *
-NCONF_WIN32()
+NCONF_WIN32(void)
{
return &WIN32_method;
}
}
void
-OPENSSL_no_config()
+OPENSSL_no_config(void)
{
openssl_configured = 1;
}
return 1;
}
-void ENGINE_register_all_ciphers()
+void ENGINE_register_all_ciphers(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_DH()
+void ENGINE_register_all_DH(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_digests()
+void ENGINE_register_all_digests(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_DSA()
+void ENGINE_register_all_DSA(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_ECDH()
+void ENGINE_register_all_ECDH(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_ECDSA()
+void ENGINE_register_all_ECDSA(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_pkey_meths()
+void ENGINE_register_all_pkey_meths(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_RAND()
+void ENGINE_register_all_RAND(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_RSA()
+void ENGINE_register_all_RSA(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_STORE()
+void ENGINE_register_all_STORE(void)
{
ENGINE *e;
}
pqueue_s *
-pqueue_new()
+pqueue_new(void)
{
pqueue_s *pq = (pqueue_s *)malloc(sizeof(pqueue_s));
/* TS_RESP_CTX management functions. */
TS_RESP_CTX *
-TS_RESP_CTX_new()
+TS_RESP_CTX_new(void)
{
TS_RESP_CTX *ctx;
char *tmp, *q;
const unsigned char *p;
int i;
- const static char hexdig[] = "0123456789ABCDEF";
+ static const char hexdig[] = "0123456789ABCDEF";
if(!buffer || !len) return NULL;
if(!(tmp = malloc(len * 3 + 1))) {
X509V3err(X509V3_F_HEX_TO_STRING,ERR_R_MALLOC_FAILURE);
void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key)
{
register CAST_LONG l,r,t;
- const register CAST_LONG *k;
+ register const CAST_LONG *k;
k= &(key->data[0]);
l=data[0];
void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key)
{
register CAST_LONG l,r,t;
- const register CAST_LONG *k;
+ register const CAST_LONG *k;
k= &(key->data[0]);
l=data[0];
};
CONF_METHOD *
-NCONF_default()
+NCONF_default(void)
{
return &default_method;
}
CONF_METHOD *
-NCONF_WIN32()
+NCONF_WIN32(void)
{
return &WIN32_method;
}
}
void
-OPENSSL_no_config()
+OPENSSL_no_config(void)
{
openssl_configured = 1;
}
return 1;
}
-void ENGINE_register_all_ciphers()
+void ENGINE_register_all_ciphers(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_DH()
+void ENGINE_register_all_DH(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_digests()
+void ENGINE_register_all_digests(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_DSA()
+void ENGINE_register_all_DSA(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_ECDH()
+void ENGINE_register_all_ECDH(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_ECDSA()
+void ENGINE_register_all_ECDSA(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_pkey_meths()
+void ENGINE_register_all_pkey_meths(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_RAND()
+void ENGINE_register_all_RAND(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_RSA()
+void ENGINE_register_all_RSA(void)
{
ENGINE *e;
return 1;
}
-void ENGINE_register_all_STORE()
+void ENGINE_register_all_STORE(void)
{
ENGINE *e;
}
pqueue_s *
-pqueue_new()
+pqueue_new(void)
{
pqueue_s *pq = (pqueue_s *)malloc(sizeof(pqueue_s));
/* TS_RESP_CTX management functions. */
TS_RESP_CTX *
-TS_RESP_CTX_new()
+TS_RESP_CTX_new(void)
{
TS_RESP_CTX *ctx;
char *tmp, *q;
const unsigned char *p;
int i;
- const static char hexdig[] = "0123456789ABCDEF";
+ static const char hexdig[] = "0123456789ABCDEF";
if(!buffer || !len) return NULL;
if(!(tmp = malloc(len * 3 + 1))) {
X509V3err(X509V3_F_HEX_TO_STRING,ERR_R_MALLOC_FAILURE);