diff options
author | beck <> | 2001-06-22 00:03:44 +0000 |
---|---|---|
committer | beck <> | 2001-06-22 00:03:44 +0000 |
commit | 38b6ff9e5294811c57541ad47940f8f8f41dc114 (patch) | |
tree | 402699541cee3cf3f2943b0384dbda7de534de70 /src/lib/libssl/ssl.h | |
parent | afae624d63e4e717c5bae8c7842a4712309f728f (diff) | |
download | openbsd-38b6ff9e5294811c57541ad47940f8f8f41dc114.tar.gz openbsd-38b6ff9e5294811c57541ad47940f8f8f41dc114.tar.bz2 openbsd-38b6ff9e5294811c57541ad47940f8f8f41dc114.zip |
openssl-engine-0.9.6a merge
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r-- | src/lib/libssl/ssl.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index fdbdc70ba7..9de9e611ab 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -206,7 +206,7 @@ typedef struct ssl_method_st | |||
206 | int (*ssl_accept)(SSL *s); | 206 | int (*ssl_accept)(SSL *s); |
207 | int (*ssl_connect)(SSL *s); | 207 | int (*ssl_connect)(SSL *s); |
208 | int (*ssl_read)(SSL *s,void *buf,int len); | 208 | int (*ssl_read)(SSL *s,void *buf,int len); |
209 | int (*ssl_peek)(SSL *s,char *buf,int len); | 209 | int (*ssl_peek)(SSL *s,void *buf,int len); |
210 | int (*ssl_write)(SSL *s,const void *buf,int len); | 210 | int (*ssl_write)(SSL *s,const void *buf,int len); |
211 | int (*ssl_shutdown)(SSL *s); | 211 | int (*ssl_shutdown)(SSL *s); |
212 | int (*ssl_renegotiate)(SSL *s); | 212 | int (*ssl_renegotiate)(SSL *s); |
@@ -1061,9 +1061,9 @@ int SSL_set_trust(SSL *s, int trust); | |||
1061 | void SSL_free(SSL *ssl); | 1061 | void SSL_free(SSL *ssl); |
1062 | int SSL_accept(SSL *ssl); | 1062 | int SSL_accept(SSL *ssl); |
1063 | int SSL_connect(SSL *ssl); | 1063 | int SSL_connect(SSL *ssl); |
1064 | int SSL_read(SSL *ssl,char *buf,int num); | 1064 | int SSL_read(SSL *ssl,void *buf,int num); |
1065 | int SSL_peek(SSL *ssl,char *buf,int num); | 1065 | int SSL_peek(SSL *ssl,void *buf,int num); |
1066 | int SSL_write(SSL *ssl,const char *buf,int num); | 1066 | int SSL_write(SSL *ssl,const void *buf,int num); |
1067 | long SSL_ctrl(SSL *ssl,int cmd, long larg, char *parg); | 1067 | long SSL_ctrl(SSL *ssl,int cmd, long larg, char *parg); |
1068 | long SSL_callback_ctrl(SSL *, int, void (*)()); | 1068 | long SSL_callback_ctrl(SSL *, int, void (*)()); |
1069 | long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, char *parg); | 1069 | long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, char *parg); |
@@ -1178,7 +1178,7 @@ int SSL_get_ex_data_X509_STORE_CTX_idx(void ); | |||
1178 | #define SSL_CTX_get_read_ahead(ctx) \ | 1178 | #define SSL_CTX_get_read_ahead(ctx) \ |
1179 | SSL_CTX_ctrl(ctx,SSL_CTRL_GET_READ_AHEAD,0,NULL) | 1179 | SSL_CTX_ctrl(ctx,SSL_CTRL_GET_READ_AHEAD,0,NULL) |
1180 | #define SSL_CTX_set_read_ahead(ctx,m) \ | 1180 | #define SSL_CTX_set_read_ahead(ctx,m) \ |
1181 | SSL_CTX_ctrl(ctx,SSL_CTRL_SET_READ_AHEAD,0,NULL) | 1181 | SSL_CTX_ctrl(ctx,SSL_CTRL_SET_READ_AHEAD,m,NULL) |
1182 | 1182 | ||
1183 | /* NB: the keylength is only applicable when is_export is true */ | 1183 | /* NB: the keylength is only applicable when is_export is true */ |
1184 | #ifndef NO_RSA | 1184 | #ifndef NO_RSA |
@@ -1209,6 +1209,7 @@ int SSL_COMP_add_compression_method(int id,char *cm); | |||
1209 | /* The following lines are auto generated by the script mkerr.pl. Any changes | 1209 | /* The following lines are auto generated by the script mkerr.pl. Any changes |
1210 | * made after this point may be overwritten when the script is next run. | 1210 | * made after this point may be overwritten when the script is next run. |
1211 | */ | 1211 | */ |
1212 | void ERR_load_SSL_strings(void); | ||
1212 | 1213 | ||
1213 | /* Error codes for the SSL functions. */ | 1214 | /* Error codes for the SSL functions. */ |
1214 | 1215 | ||
@@ -1233,12 +1234,15 @@ int SSL_COMP_add_compression_method(int id,char *cm); | |||
1233 | #define SSL_F_SSL23_CONNECT 117 | 1234 | #define SSL_F_SSL23_CONNECT 117 |
1234 | #define SSL_F_SSL23_GET_CLIENT_HELLO 118 | 1235 | #define SSL_F_SSL23_GET_CLIENT_HELLO 118 |
1235 | #define SSL_F_SSL23_GET_SERVER_HELLO 119 | 1236 | #define SSL_F_SSL23_GET_SERVER_HELLO 119 |
1237 | #define SSL_F_SSL23_PEEK 237 | ||
1236 | #define SSL_F_SSL23_READ 120 | 1238 | #define SSL_F_SSL23_READ 120 |
1237 | #define SSL_F_SSL23_WRITE 121 | 1239 | #define SSL_F_SSL23_WRITE 121 |
1238 | #define SSL_F_SSL2_ACCEPT 122 | 1240 | #define SSL_F_SSL2_ACCEPT 122 |
1239 | #define SSL_F_SSL2_CONNECT 123 | 1241 | #define SSL_F_SSL2_CONNECT 123 |
1240 | #define SSL_F_SSL2_ENC_INIT 124 | 1242 | #define SSL_F_SSL2_ENC_INIT 124 |
1243 | #define SSL_F_SSL2_PEEK 234 | ||
1241 | #define SSL_F_SSL2_READ 125 | 1244 | #define SSL_F_SSL2_READ 125 |
1245 | #define SSL_F_SSL2_READ_INTERNAL 236 | ||
1242 | #define SSL_F_SSL2_SET_CERTIFICATE 126 | 1246 | #define SSL_F_SSL2_SET_CERTIFICATE 126 |
1243 | #define SSL_F_SSL2_WRITE 127 | 1247 | #define SSL_F_SSL2_WRITE 127 |
1244 | #define SSL_F_SSL3_ACCEPT 128 | 1248 | #define SSL_F_SSL3_ACCEPT 128 |
@@ -1263,6 +1267,7 @@ int SSL_COMP_add_compression_method(int id,char *cm); | |||
1263 | #define SSL_F_SSL3_GET_SERVER_DONE 145 | 1267 | #define SSL_F_SSL3_GET_SERVER_DONE 145 |
1264 | #define SSL_F_SSL3_GET_SERVER_HELLO 146 | 1268 | #define SSL_F_SSL3_GET_SERVER_HELLO 146 |
1265 | #define SSL_F_SSL3_OUTPUT_CERT_CHAIN 147 | 1269 | #define SSL_F_SSL3_OUTPUT_CERT_CHAIN 147 |
1270 | #define SSL_F_SSL3_PEEK 235 | ||
1266 | #define SSL_F_SSL3_READ_BYTES 148 | 1271 | #define SSL_F_SSL3_READ_BYTES 148 |
1267 | #define SSL_F_SSL3_READ_N 149 | 1272 | #define SSL_F_SSL3_READ_N 149 |
1268 | #define SSL_F_SSL3_SEND_CERTIFICATE_REQUEST 150 | 1273 | #define SSL_F_SSL3_SEND_CERTIFICATE_REQUEST 150 |
@@ -1559,4 +1564,3 @@ int SSL_COMP_add_compression_method(int id,char *cm); | |||
1559 | } | 1564 | } |
1560 | #endif | 1565 | #endif |
1561 | #endif | 1566 | #endif |
1562 | |||