projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make SSL library a little more fool-proof by not requiring any longer
[openssl.git]
/
ssl
/
ssl2.h
diff --git
a/ssl/ssl2.h
b/ssl/ssl2.h
index 3dc94e520bb057963d9d3b21b7825a4430995e4f..d7f24ac1b4e82e6117ea0197cfacf75345692957 100644
(file)
--- a/
ssl/ssl2.h
+++ b/
ssl/ssl2.h
@@
-67,8
+67,8
@@
extern "C" {
#define SSL2_VERSION 0x0002
#define SSL2_VERSION_MAJOR 0x00
#define SSL2_VERSION_MINOR 0x02
#define SSL2_VERSION 0x0002
#define SSL2_VERSION_MAJOR 0x00
#define SSL2_VERSION_MINOR 0x02
-#define SSL2_CLIENT_VERSION 0x0002
-#define SSL2_SERVER_VERSION 0x0002
+/* #define SSL2_CLIENT_VERSION 0x0002 */
+/* #define SSL2_SERVER_VERSION 0x0002 */
/* Protocol Message Codes */
#define SSL2_MT_ERROR 0
/* Protocol Message Codes */
#define SSL2_MT_ERROR 0
@@
-162,7
+162,7
@@
typedef struct ssl2_ctx_st
* args were passwd */
unsigned int wnum; /* number of bytes sent so far */
int wpend_tot;
* args were passwd */
unsigned int wnum; /* number of bytes sent so far */
int wpend_tot;
- char *wpend_buf;
+ c
onst unsigned c
har *wpend_buf;
int wpend_off; /* offset to data to write */
int wpend_len; /* number of bytes passwd to write */
int wpend_off; /* offset to data to write */
int wpend_len; /* number of bytes passwd to write */