summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorbeck <>2001-06-22 00:03:44 +0000
committerbeck <>2001-06-22 00:03:44 +0000
commit38b6ff9e5294811c57541ad47940f8f8f41dc114 (patch)
tree402699541cee3cf3f2943b0384dbda7de534de70 /src/lib/libssl/ssl_locl.h
parentafae624d63e4e717c5bae8c7842a4712309f728f (diff)
downloadopenbsd-38b6ff9e5294811c57541ad47940f8f8f41dc114.tar.gz
openbsd-38b6ff9e5294811c57541ad47940f8f8f41dc114.tar.bz2
openbsd-38b6ff9e5294811c57541ad47940f8f8f41dc114.zip
openssl-engine-0.9.6a merge
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h59
1 files changed, 56 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index d70fff4627..516d3cc5ae 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -55,6 +55,59 @@
55 * copied and put under another distribution licence 55 * copied and put under another distribution licence
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58/* ====================================================================
59 * Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved.
60 *
61 * Redistribution and use in source and binary forms, with or without
62 * modification, are permitted provided that the following conditions
63 * are met:
64 *
65 * 1. Redistributions of source code must retain the above copyright
66 * notice, this list of conditions and the following disclaimer.
67 *
68 * 2. Redistributions in binary form must reproduce the above copyright
69 * notice, this list of conditions and the following disclaimer in
70 * the documentation and/or other materials provided with the
71 * distribution.
72 *
73 * 3. All advertising materials mentioning features or use of this
74 * software must display the following acknowledgment:
75 * "This product includes software developed by the OpenSSL Project
76 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
77 *
78 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
79 * endorse or promote products derived from this software without
80 * prior written permission. For written permission, please contact
81 * openssl-core@openssl.org.
82 *
83 * 5. Products derived from this software may not be called "OpenSSL"
84 * nor may "OpenSSL" appear in their names without prior written
85 * permission of the OpenSSL Project.
86 *
87 * 6. Redistributions of any form whatsoever must retain the following
88 * acknowledgment:
89 * "This product includes software developed by the OpenSSL Project
90 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
91 *
92 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
93 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
94 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
95 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
96 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
97 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
98 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
99 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
100 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
101 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
102 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
103 * OF THE POSSIBILITY OF SUCH DAMAGE.
104 * ====================================================================
105 *
106 * This product includes cryptographic software written by Eric Young
107 * (eay@cryptsoft.com). This product includes software written by Tim
108 * Hudson (tjh@cryptsoft.com).
109 *
110 */
58 111
59#ifndef HEADER_SSL_LOCL_H 112#ifndef HEADER_SSL_LOCL_H
60#define HEADER_SSL_LOCL_H 113#define HEADER_SSL_LOCL_H
@@ -463,7 +516,7 @@ void ssl2_free(SSL *s);
463int ssl2_accept(SSL *s); 516int ssl2_accept(SSL *s);
464int ssl2_connect(SSL *s); 517int ssl2_connect(SSL *s);
465int ssl2_read(SSL *s, void *buf, int len); 518int ssl2_read(SSL *s, void *buf, int len);
466int ssl2_peek(SSL *s, char *buf, int len); 519int ssl2_peek(SSL *s, void *buf, int len);
467int ssl2_write(SSL *s, const void *buf, int len); 520int ssl2_write(SSL *s, const void *buf, int len);
468int ssl2_shutdown(SSL *s); 521int ssl2_shutdown(SSL *s);
469void ssl2_clear(SSL *s); 522void ssl2_clear(SSL *s);
@@ -494,7 +547,7 @@ SSL_CIPHER *ssl3_get_cipher(unsigned int u);
494int ssl3_renegotiate(SSL *ssl); 547int ssl3_renegotiate(SSL *ssl);
495int ssl3_renegotiate_check(SSL *ssl); 548int ssl3_renegotiate_check(SSL *ssl);
496int ssl3_dispatch_alert(SSL *s); 549int ssl3_dispatch_alert(SSL *s);
497int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len); 550int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek);
498int ssl3_write_bytes(SSL *s, int type, const void *buf, int len); 551int ssl3_write_bytes(SSL *s, int type, const void *buf, int len);
499int ssl3_final_finish_mac(SSL *s, EVP_MD_CTX *ctx1, EVP_MD_CTX *ctx2, 552int ssl3_final_finish_mac(SSL *s, EVP_MD_CTX *ctx1, EVP_MD_CTX *ctx2,
500 const char *sender, int slen,unsigned char *p); 553 const char *sender, int slen,unsigned char *p);
@@ -511,7 +564,7 @@ void ssl3_free(SSL *s);
511int ssl3_accept(SSL *s); 564int ssl3_accept(SSL *s);
512int ssl3_connect(SSL *s); 565int ssl3_connect(SSL *s);
513int ssl3_read(SSL *s, void *buf, int len); 566int ssl3_read(SSL *s, void *buf, int len);
514int ssl3_peek(SSL *s,char *buf, int len); 567int ssl3_peek(SSL *s, void *buf, int len);
515int ssl3_write(SSL *s, const void *buf, int len); 568int ssl3_write(SSL *s, const void *buf, int len);
516int ssl3_shutdown(SSL *s); 569int ssl3_shutdown(SSL *s);
517void ssl3_clear(SSL *s); 570void ssl3_clear(SSL *s);