projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d754b38
)
Fix gcc warnings.
author
Ulf Möller
<ulf@openssl.org>
Sun, 20 Feb 2000 20:59:21 +0000
(20:59 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Sun, 20 Feb 2000 20:59:21 +0000
(20:59 +0000)
apps/passwd.c
patch
|
blob
|
history
apps/s_client.c
patch
|
blob
|
history
crypto/bio/bss_log.c
patch
|
blob
|
history
doc/crypto/EVP_DigestInit.pod
patch
|
blob
|
history
util/libeay.num
patch
|
blob
|
history
diff --git
a/apps/passwd.c
b/apps/passwd.c
index
6b8aafa
..
d3893d7
100644
(file)
--- a/
apps/passwd.c
+++ b/
apps/passwd.c
@@
-20,7
+20,7
@@
# include <openssl/des.h>
#endif
#ifndef NO_APR1
# include <openssl/des.h>
#endif
#ifndef NO_APR1
-# include <openssl/
des
.h>
+# include <openssl/
md5
.h>
#endif
#endif
@@
-323,13
+323,13
@@
static char *apr1_crypt(const char *passwd, const char *salt)
MD5_CTX md2;
MD5_Init(&md2);
MD5_CTX md2;
MD5_Init(&md2);
- MD5_Update(&md2, (i & 1) ?
passwd : buf,
+ MD5_Update(&md2, (i & 1) ?
(unsigned char *)
passwd : buf,
(i & 1) ? passwd_len : sizeof buf);
if (i % 3)
MD5_Update(&md2, salt_out, salt_len);
if (i % 7)
MD5_Update(&md2, passwd, passwd_len);
(i & 1) ? passwd_len : sizeof buf);
if (i % 3)
MD5_Update(&md2, salt_out, salt_len);
if (i % 7)
MD5_Update(&md2, passwd, passwd_len);
- MD5_Update(&md2, (i & 1) ?
buf :
passwd,
+ MD5_Update(&md2, (i & 1) ?
buf : (unsigned char *)
passwd,
(i & 1) ? sizeof buf : passwd_len);
MD5_Final(buf, &md2);
}
(i & 1) ? sizeof buf : passwd_len);
MD5_Final(buf, &md2);
}
diff --git
a/apps/s_client.c
b/apps/s_client.c
index
ac19f4e
..
c4c3b0e
100644
(file)
--- a/
apps/s_client.c
+++ b/
apps/s_client.c
@@
-508,6
+508,7
@@
re_start:
* are any keypresses. Note: this is a hack, in a proper
* Windows application we wouldn't do this.
*/
* are any keypresses. Note: this is a hack, in a proper
* Windows application we wouldn't do this.
*/
+ i=0;
if(!write_tty) {
if(read_tty) {
tv.tv_sec = 1;
if(!write_tty) {
if(read_tty) {
tv.tv_sec = 1;
diff --git
a/crypto/bio/bss_log.c
b/crypto/bio/bss_log.c
index
497c8ae
..
b52fbe1
100644
(file)
--- a/
crypto/bio/bss_log.c
+++ b/
crypto/bio/bss_log.c
@@
-133,11
+133,10
@@
static int MS_CALLBACK slg_write(BIO *b, char *in, int inl)
char* buf= in;
char* pp;
#if defined(WIN32)
char* buf= in;
char* pp;
#if defined(WIN32)
- LP
T
STR lpszStrings[2];
+ LP
C
STR lpszStrings[2];
WORD evtype= EVENTLOG_ERROR_TYPE;
int pid = _getpid();
char pidbuf[20];
WORD evtype= EVENTLOG_ERROR_TYPE;
int pid = _getpid();
char pidbuf[20];
- int pidbufl;
#else
int priority;
#endif
#else
int priority;
#endif
diff --git
a/doc/crypto/EVP_DigestInit.pod
b/doc/crypto/EVP_DigestInit.pod
index
b21e101
..
dd6dcb1
100644
(file)
--- a/
doc/crypto/EVP_DigestInit.pod
+++ b/
doc/crypto/EVP_DigestInit.pod
@@
-115,7
+115,7
@@
EVP_md_null(), EVP_MD *EVP_md2(), EVP_MD *EVP_md5(), EVP_MD *EVP_sha(),
EVP_sha1(), EVP_dss(), EVP_dss1(), EVP_mdc2() and EVP_ripemd160() return
pointers to the corresponding EVP_MD structures.
EVP_sha1(), EVP_dss(), EVP_dss1(), EVP_mdc2() and EVP_ripemd160() return
pointers to the corresponding EVP_MD structures.
-B<EVP_get_digestbyname>, B<EVP_get_digestbynid> and B<EVP_get_digestbyobj>
+EVP_get_digestbyname(), EVP_get_digestbynid() and EVP_get_digestbyobj()
return either an B<EVP_MD> structure or NULL if an error occurs.
=head1 NOTES
return either an B<EVP_MD> structure or NULL if an error occurs.
=head1 NOTES
diff --git
a/util/libeay.num
b/util/libeay.num
index
e3a0f69
..
812f439
100755
(executable)
--- a/
util/libeay.num
+++ b/
util/libeay.num
@@
-1304,13
+1304,12
@@
i2d_SXNETID 1329
d2i_SXNETID 1330
SXNETID_new 1331
SXNETID_free 1332
d2i_SXNETID 1330
SXNETID_new 1331
SXNETID_free 1332
-DSA_SIG_new 1333
-DSA_SIG_free 1334
-DSA_do_sign 1335
-DSA_do_verify 1336
-d2i_DSA_SIG 1337
-i2d_DSA_SIG 1338
-
+DSA_SIG_new 1333
+DSA_SIG_free 1334
+DSA_do_sign 1335
+DSA_do_verify 1336
+d2i_DSA_SIG 1337
+i2d_DSA_SIG 1338
i2d_ASN1_VISIBLESTRING 1339
d2i_ASN1_VISIBLESTRING 1340
i2d_ASN1_UTF8STRING 1341
i2d_ASN1_VISIBLESTRING 1339
d2i_ASN1_VISIBLESTRING 1340
i2d_ASN1_UTF8STRING 1341